mycsvilla

We explore our idea through technology

WE DESIGN WEBSITE AND SOFTWARE OF ANY KIND.CLICK CONTACT MENU TO CONTACT US

Thursday, 23 November 2017

html basic tag

                                       HTML BASIC TAG



 <html>
</html>

Each one of those is called a tag. There is a starting tag and a closing tag.To make a closing tag just add a / to the starting tag. Most, but not all tags have a closing tag.
<html> is called an open tag
</html> is called an close tag
The browser will interpret everything between <html> and </html> as an HTML document.

                                  DOCTYPE TAG
                                 
                                  The HTML <doctype> tag is used for specifying which version of HTML the document is using. This is referred to as the document type declaration (DTD).
NOTE: The <!DOCTYPE> tag does not have an end tag!.
DIFFERENT VERSION OF HTML SPECIFY BY DOCTYPE
HTML 4 Strict
This document type includes all HTML elements except those that have been deprecated, and those that appear in frameset documents.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
HTML 4 Transitional
This document type includes all HTML elements including those that have been deprecated.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">;
HTML 4 Frameset
This document type includes all HTML elements in the transitional DTD as well as those in framed document.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
HTML 5 Declaration
In HTML5 there is only one declaration i.e.
<!DOCTYPE html>
examaple:
<!DOCTYPE html>
<html>
<head>
<body>
</body>
</head>
</html>
                                                                                                                                                       NEXT
PREVIOUS
    

No comments:

Post a Comment