Sep 4, 2017

HTML Tutorial 3

Example Explained

What you just made is a skeleton html document. This is the minimum required information for a web document and all web documents should contain these basic components. The first tag in your html document is <html>. This tag tells your browser that this is the start of an html document. The last tag in your document is </html>. This tag tells your browser that this is the end of the html document.

  Ø The text between the <head> tag and the </head> tag is header information. Header information is not displayed in the browser window.

  Ø The text between the <title> tags is the title of your document. The <title> tag is used to uniquely identify each document and is also displayed in the title bar of the browser window.

  Ø The text between the <body> tags is the text that will be displayed in your browser.

f   Also Read

The Doctype

This is known as the doctype2 (short for Document Type Definition). It must be the first item on a web page, appearing even before any spacing or carriage returns.

HTM or HTML Extension?

When you save an HTML file, you can use either the .htm or the .html extension. The .htm extension comes from the past when some of the commonly used software only allowed three letter extensions. It is perfectly safe to use either .html or .htm, but be consistent. test.htm and test.html are treated as different files by the browser.

How to View HTML Source?

A good way to learn HTML is to look at how other people have coded their html pages. To find out, simply click on the View option in your browsers toolbar and select Source or Page Source. This will open a window that shows you the actual HTML of the page. Go ahead and view the source html for this page.


What are HTML tags?

HTML is a markup language and makes use of various tags to format the content. These tags are enclosed within angle braces <Tag Name>. Except few tags, most of the tags have their corresponding closing tags. For example, <html> has its closing tag</html> and <body> tag has its closing tag </body> tag etc.

This tag defines the document type and HTML version.
This tag encloses the complete HTML document and mainly comprises
of document header which is represented by <head>...</head> and
document body which is represented by <body>...</body> tags.
This tag represents the document's header which can keep other HTML
tags like <title>, <link> etc.
The <title> tag is used inside the <head> tag to mention the
document title.
This tag represents the document's body which keeps other HTML tags
like <h1>, <div>, <p> etc.
This tag represents the heading.
This tag represents a paragraph.
Makes the text bold.
Makes the text usually one size bigger than what's around it.
Makes text italic.
Makes text underline.
This is division content.

Previous Post
Next Post

post written by:

Hey! I’m Muhammad Abba Gana, popularly known as AbbaGana, a blog Scientist by mind and a passionate blogger by heart fountainhead of Guidetricks, Duniyan Fasaha, Duniyar Yau, Hanyantsirah, Gidan Novels, Abba Gana Novels and Be With Me Technology, I am twenty something year old guy from Jimeta, Adamawa State, Nigeria. I’m a Freelance writer, Information marketer, professional blogger, Web designer, Internet speaker, software Developer and also an author. I make living with my laptop and can work from anywhere I find myself (as long as there is a power supply and a reliable internet connection).


We Cherish Your Comments Most, Kindly Drop your comments below. Don't forget to click "Notify Me" to know if we have responded to your comments, Thank You.