What is Tag? Why Tag use? How to use Tag?

What is <!DOCTYPE> Tag?
This is not a html tag, this is just a declaration tag. The <!DOCTYPE> declaration refers Document Type Declaration (DTD).

Why <!DOCTYPE> Tag use?
This is not nesessor to use <!DOCTYPE> tag, but this is declar the html virson. So, you must be use this <!DOCTYPE> Tag. If not, perhaps the program will show you error some time.

How to use <!DOCTYPE> Tag?
You can write this type of value in <!DOCTYPE> because this is not case sensitive. The <!DOCTYPE> tag always use starting point in the html program.
<!DOCTYPE html>
<!DocType html>
<!Doctype html>
<!doctype html>

This is all currect. 


<!DOCTYPE html>
<title> Your title here </title>

Write here your post body



Leave a Comment

Your email address will not be published. Required fields are marked *