Skip to main content

DOCTYPE - HTML Tutorial with Example

DOCTYPE - HTML Tutorial with Example





     The <!DOCTYPE> declaration give information to the web browser about what version of HTML is used, <!DOCTYPE> declaration is supported in all major browsers. The <!DOCTYPE> is placed in very first thing in HTML document before the HTML elements.

HTML 5 DOCTYPE

HTML 5 is not based on SGML therefore does not require a reference to a DTD.

HTML 4.01 DOCTYPE

HTML 4.01 was based on SGML and the <!DOCTYPE> declaration refers to a DTD.







Popular posts from this blog

Popular WebSites To Buy Cheap Domain Names

Popular WebSites To Buy Cheap Domain Names - willvick.com Buying a domain name can be a great way to set up your own website with personalized email address. Now, how do you pick the best and cheap domain names registrar? First thing that you’re going to need a domain names registrar with quality performance and support. So that you can buy is your own TLD (Top level domain) to create your own website and personalized email. Below are the 3 of the best and cheapest domain names registrars that provide you domain names registration service at cheap price with quality performance and support. GODADDY.COM NAMECHEAP.COM DOMAIN.COM

Horizontal Line - HTML Tutorial with Example

Horizontal Line - HTML Tutorial with Example www.willvick.com      In an HTML document the <hr /> tag creates a horizontal line . The <hr> tag has no end tag , it is an empty tag. The <hr> tag is supported in all major browsers.

Image - HTML Tutorial with Example

Image - HTML Tutorial with Example www.willvick.com       Images are defined with the <img> tag in an HTML document. src attribute is use for location of the image. alt attribute is use for short description of the image. Height attribute is use for specify the height of the image. Width attribute is use for specify the width of the image.