html body { margin-top: 50px !important; } #top_form { position: fixed; top:0; left:0; width: 100%; margin:0; z-index: 2100000000; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; border-bottom:1px solid #151515; background:#FFC8C8; height:45px; line-height:45px; } #top_form input[name=url] { width: 550px; height: 20px; padding: 5px; font: 13px "Helvetica Neue",Helvetica,Arial,sans-serif; border: 0px none; background: none repeat scroll 0% 0% #FFF; }
tags. It also summarizes common text-level semantics like headings, paragraphs, links, images and their defining tags, as well as empty elements and start/end tags. The document concludes by listing several common attributes and their descriptions.">
HTML 5
HTML 5
HTML 5
HTML Documents
All HTML documents must start with a document type declaration: <!DOCTYPE html>.
The HTML document itself begins with <html> and ends with </html>.
The visible part of the HTML document is between <body> and </body>.
HTML Headings
HTML Paragraphs
HTML paragraphs are defined with the <p> tag:
HTML Links
HTML Images
HTML images are defined with the <img> tag.
The source file (src), alternative text (alt), width, and height are provided as
attributes:
1
HTML Elements
An HTML element usually consists of a start tag and end tag, with the content inserted in
between:
HTML elements with no content are called empty elements. Empty elements do not have
an end tag, such as the <br> element (which indicates a line break).
HTML Attributes
2
The title Attribute
Here, a title attribute is added to the <p> element. The value of the title attribute will be
displayed as a tooltip when you mouse over the paragraph:
<p title="I'm a tooltip">
Attribute Description
alt Specifies an alternative text for an image, when the image cannot be
displayed
disabled Specifies that an input element should be disabled
HTML Headings
Tag Description
<html> Defines the root of an HTML document
<body> Defines the document's body
<head> A container for all the head elements (title, scripts, styles, meta
information, and more)
<h1> to Defines HTML headings
<h6>
<hr> Defines a thematic change in the content