Now that we know some more about HTML, lets delve into some elements of HTML
Element |
Uses |
---|---|
<head></head> |
Used for Meta Data and information about the website. |
<meta> |
A Meta Data tag used to contain information. |
<style></style> |
Used to add CSS directly into the HTML file |
<title></title> |
Defines the title of the document, shown in a browser's title bar or on the page's tab. |
<h1></h1> -- <h6></h6> |
Used as larger text (a header). <h1><h2><h3><h4><h5><h6> |
<section></section> |
A clarification of a section. |
<div></div> |
A clarification of a section. See also (section). |
<hr> |
Adds a line into the HTML document. |
<li></li> |
Used to define an item in a list. |
<ol></ol> |
Used to define an ordered list. |
<p></p> |
Defines a paragraph of text. |
<ul></ul> |
Defines an unordered list. |
<a></a> |
Defines a hyper link. |
<b></b> |
Defines a strong, or bold text. |
<br> |
Produces a line |
<i></i> |
Defines italic text. |
<s></s> |
Defines a text that has been |
<small></small> |
Makes the text font size one size smaller. |
<span></span> |
A generic inline contrainer for phrasing content. |
<strong></strong> |
Defines bold text. |
<sub></sub> |
Defines a span of text smaller and lower than the main text. |
<sup></sup> |
Defines a span of text smaller and higher than the main text. |
<u></u> |
Defines an underlined text. |
<img></img> |
Represents an image in the document. |
<video></video> |
Defines a video to be embed into the document. |
<embed></embed> |
Defines an intergration point for a third party plug in or interactive content. |
<script></script> |
Defines a area to implement scripting. |
<del></del> |
Defines a text that has been |
<ins></ins> |
Defines a text that has been added, (just underlined). |
<table></table> |
Defines a table. (Table being used to display this). |
<td></td> |
Defines a cell of a table that contains data. |
<th></th> |
Defines a cell as a header of a group of table cells. |
<tr></tr> |
Defines a row of cells in a table. |
Now, there are many, many more elements within HTML and HTML 5.0 alone. These are just the elements that I have memorized.
If you'd like to know every single HTML 5.0 element, go to the top header bar and click on referencing.