www.pickatutorial.com Computer Tutorials
Top eBooks: C/C++ | C# | Android | Mathematics | Database | Cloud | Graphics | Networking | Oracle | Hardware | AI
Top Tutorials: C/C++ | C#.NET | PHP MySQL | Java | Java Script | jQuery | HTML | xHTML | HTML5 | VB Script| CSS
Lessons HTML5 <!DOCTYPE> Tag Bookmark and Share
Tutorial Home
Lesson  1
Lesson  2
Lesson  3
Lesson  4
Lesson  5
Lesson  6
Lesson  7
Lesson  8
Lesson  9
Lesson  10
Lesson  11

<!DOCTYPE> is a very special tag which is declared at the very beginning of a HTML5 web page.

This tag is an instruction for the web browser. This tag sends information about the Document Type.

HTML5 is not based on SGML, therefore we do not need to provide a DTD reference as we used to in earlier versions of HTML.

We use the <!DOCTYPE> tag as follows:

<!DOCTYPE html>

The above markup specifies that the document is of type html.

Following example shows the simple use of <!DOCTYPE> tag in an HTML5 web page:

<!DOCTYPE html>
<html>
<head>
<title>Simple HTML5 web page </title>
</head>
<body>
Simple HTML5 web page body
</body>
</html>


Next >>> Lesson No. 3: <html> Tag





Home - Advertise - Contact - Disclaimer - About Us
© Since 2006 pickatutorial.com -- All Rights Reserved.