Like most other programming languages, the best way to learn HTML is by much practice. Exercise of course needs a tool. Well, basically you can make an HTML file using notepad, but of course a lot of software to write with various facilities that make it easy. Just go to download.com or search with keyword HTML Editor and you'll get plenty of them.
Now.... the title tag.
HTML Title Tag
The title is defined by using tags <h1> until> h6>. <h1> letter defines the title of the greatest, and smallest <h6>. For exercise you try to make the following HTML file and note the results.
<h1> This Title </ h1>
<h2> This Title </ h2>
<h3> This Title </ h3>
<h4> This Title </ h4>
<h5> This Title </ h5>
<h6> This title </ h6>
HTML automatically adds an empty line before and after the title.
Paragraph
Paragraphs are defined by using tags <p>.
<p> This is a paragraph </ p>
<p> This is another paragraph </ p>
Just like the title, HTML automatically adds an empty line before and after paragraphs.
Paragraphs are defined by using tags <p>.
<p> This is a paragraph </ p>
<p> This is another paragraph </ p>
Just like the title, HTML automatically adds an empty line before and after paragraphs.
Do not forget the closing tag
You've certainly never been Seeing that the paragraph could be written without the closing tag </ p> like this:
<p> This is a paragraph
<p> This is another paragraph
Just examples can be used on almost any type of browser, but do not rely on that. HTML versions of the future will not allow you to skip the closing tag.
Closing all HTML elements with a closing tag is a powerful way to write HTML that is compatible with browsers smeua and future development. It also makes our code easier to understand (either read or in the browser).
You've certainly never been Seeing that the paragraph could be written without the closing tag </ p> like this:
<p> This is a paragraph
<p> This is another paragraph
Just examples can be used on almost any type of browser, but do not rely on that. HTML versions of the future will not allow you to skip the closing tag.
Closing all HTML elements with a closing tag is a powerful way to write HTML that is compatible with browsers smeua and future development. It also makes our code easier to understand (either read or in the browser).