An HTML element starts with a start tag / opening tag
An HTML element ends with an end tag / closing tag
The element content is everything between the start and the end tag
Some HTML elements have empty content
Empty elements are closed in the start tag
Most HTML elements can have attributes
Back
<h6><h/6>
Front
opening and closing tags of the smallest heading
Back
<q></q>
Front
Defines a short quotation
Back
<hr />
Front
creates a horizontal line in an html page
Back
<em></em>
Front
defines emphasized text
Back
class attribute
Front
classname
Specifies a classname for an element
Back
<h1> <h/1>
Front
opening and closing tags of the largest heading
Back
<tt></tt>
Front
defines teletype text
Back
<html> </html>
Front
Opening and closing tags of a html document
Back
<samp></samp>
Front
defines sample computer code
Back
attribute
Front
an attribute defines a property (or properties) of html elements. It should always be enclosed in quotes. In some rare situations, when the attribute value itself contains quotes, it is necessary to use single quotes: name='John "ShotGun" Nelson'
Back
<code></code>
Front
defines computer code text
Back
<bdo></bdo>
Front
defines text direction
example:
<bdo dir="rtl">Here is some Arabic text!</bdo>
Back
<pre></pre>
Front
defines pre-formated text
Back
<strong></strong>
Front
usually defines bold text
Back
<a href="http://www.url.com">link text</a>
Front
html link tag with href attribute
Back
<address></adress>
Front
Defines contact information for the author/owner of a document
Back
<sub></sub>
Front
defines subscripted text
Back
<sup></sup>
Front
defines superscripted text
Back
<blockquote></blockquote>
Front
Defines a long quotation
Back
<br>
Front
defines a line break in html and does not require a closing tag. (note: xhtml and xml still require a closing tag, but it will look slightly different than html). It is an empty element.
Back
title
Front
Defines page title
Back
<abbr></abbr>
Front
defines abbreviation text
Back
<kbd></kbd>
Front
defines keyboard text
Back
Nested html elements
Front
most html elements can be nested
example:
<html>
<body>
<p>This is my first paragraph.</p>
</body>
</html>
Back
<cite></cite>
Front
defines citation text
Back
<big></big>
Front
defines big text
Back
<small></small>
Front
defines small text
Back
id element
Front
id
Specifies a unique id for an element
Back
<b></b>
Front
defines bold text
Back
<p> </p>
Front
opening and closing tags of a paragraph
Back
element
Front
everything between the start and end tags
Back
<acrynom></acrynom>
Front
defines and acrynom
tooltip will appear with the definition of the acynom
Back
<!-- This is a comment -->
Front
not displayed in browser. used to make html more readable
Back
style
Front
style_definition
Specifies an inline style for an element