Empty html element: <br>
<br> is an empty element without a closing tag (the <br> tag defines a line break).
Empty element can be “closed” in the opening tag like this: <br />.
- HTML elements can have attributes
- Attributes provide additional information about an element
- Attributes are always specified in the start tag
- Attributes come in name/value pairs like: name=”value”
Title is the atribute of element <p>
full version of the guide of tag reference:http://www.w3schools.com/tags/default.asp
Headings Are Important
Use HTML headings for headings only. Don’t use headings to make text BIG or bold.
Search engines use your headings to index the structure and content of your web pages.
Users skim your pages by its headings. It is important to use headings to show the document structure.
h1 headings should be main headings, followed by h2 headings, then the less important h3, and so on.
The <hr> tag creates a horizontal line in an HTML page.
The HTML <title> Element
The HTML <title> element is meta data. It defines the HTML document’s title.
The title will not be displayed in the document, but might be displayed in the browser tab.
The HTML <meta> Element
The HTML <meta> element is also meta data.
It can be used to define the character set, and other information about the HTML document.
With HTML, you cannot change the output by adding extra spaces or extra lines in your HTML code.
The browser will remove extra spaces and extra lines when the page is displayed.
Any number of spaces, and any number of new lines, count as only one space.
The HTML <pre> element defines a block of pre-formatted text, with structured spaces and lines.
//or actually you can use the <br> in <p> to make the line right with the text format.
The HTML Style Attribute
The HTML style attribute has the following syntax:
The property is a CSS property. The value is a CSS value.