Page 1 of 1
<!DOCTYPE html>what is <!DOCTYPE html> it doesn't say in all of tutorials and i really want to know can someone please tell me,
Re: <!DOCTYPE html><!DOCTYPE html>
This is simply the Doctype for HTML5 which is the latest version of html.. But not all browsers are up to date with the latest HTML5 applications.
Re: <!DOCTYPE html>Yupp. The doctype tells the browser what markup language the code is written in. It is needed for your website to be validated correctly. In previous versions of HTML, your doctype would look something like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
But now in HTML5 its just <!DOCTYPE html>!!!
Re: <!DOCTYPE html>Hi pavz,
As wikipedia says about doctype
A Document Type Declaration, or DOCTYPE, is an instruction that associates a particular SGML or XML document (for example, a webpage) with a Document Type Definition (DTD) (for example, the formal definition of a particular version of HTML). In the serialized form of the document, it manifests as a short string of markup that conforms to a particular syntax.
For more info on doctype you can visit w3school,
HTML <!DOCTYPE> Declaration
HTML5 <!DOCTYPE> Declaration
- Posts: 473
- Joined: Mon Oct 17, 2011 4:55 pm
Re: <!DOCTYPE html>thanks guys!
Page 1 of 1