COMPUTER LECTURES

HOME About us HTML ONLINE CODE EDITOR CONTACT US
HTML | !DOCTYPE
In HTML !DOCTYPE html tag has only opening tag and not closing tag, and this tag shows nothing on a web browser.

SYNTAX

OPENING TAG CLOSING TAG
<!!DOCTYPE html>

Tags in HTML

<!DOCTYPE html>

Example : doctype.html

<!DOCTYPE html>
<html>
<head>
<title>Computer lectures | !DOCTYPE</title>
</head>
<body>

</body>
</html>

The output on the web broswer

Doctype