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

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.

Attribute - HTML Tutorial with Example

Attribute - HTML Tutorial with Example  www.willvick.com       HTML Attributes are property of the elements which may have values and these attribute values are always enclosed in quotes. It’s providing to the browser with some additional information about an elements how the elements should appear or behave. HTML elements can contain one or more attributes, attribute names and attribute values are case-insensitive and separated by an equals (=) sign.