Header Ads Widget

Responsive Advertisement

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 tags.

Related Posts:

  • 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… Read More
  • 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 the… Read More
  • The DeclarationThe <!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 decl… Read More
  • Basic HTML DocumentIn itssimplest form, following is an example of an HTML document: Either you can useTry itoption available at the top right corner of the code box to check the result of this HTML code, or let's save it in an HTML filetest.… Read More
  • HTML Document StructureA 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. … Read More

0 Comments:

Post a Comment