Basic HTML elements
HyperText Markup Language (HTML) is the language of the web, where elements dictate the formatting and style of your content. HTML elements compose the downloaded coding that you see when you go to a web page in your web browser (such as Internet Explorer, Firefox, or Safari). Here are some basic elements to get you started building a web page.
Element | Description |
---|---|
<a> | An anchor is typically used to create links. |
<body> | Creates the body element for a page. |
<br> | Creates a line break. |
<div> | Creates a block to contain other HTML and text. |
<doctype> | Declares a document type for the HTML page. |
<html> | Creates the HTML element for a page. |
<img> | Creates a place for an image. |
<span> | Creates a space for an inline element within a page. |