Header Ads Widget

Responsive Advertisement

Heading Tags

  Any document starts with a heading. You can use different sizes for your headings. HTML also has six levels of headings, which use the elements<h1>, <h2>, <h3>, <h4>, <h5>, and <h6>. While displaying any heading, browser adds one line before and one line after that heading.Example  This will produce the following result: This is heading 1 This is heading 2 This is heading 3 This is heading 4 This...

The Declaration

The <!DOCTYPE> declaration tag is used by the web browser to understand the version of the HTML used in the document. Current version of HTML is 5 and it makes use of the following declaration: There are many other declaration types which can be used in HTML document depending on what version of HTML is being used. We will see more details on this while discussing <!DOCTYPE...> tag along with other HTML ta...

HTML Document Structure

A typical HTML document will have the following structure: We will study all the header and body tags in subsequent chapters, but for now let's see what is document declaration tag....

HTML Tags

 As told earlier, 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.Above example of HTML document uses the followingtags:  To learn HTML,...