The above title of the article comprises that whether your website uses the best doctype while developing a webpage.
When we open a new HTML page in Dreamweaver the very first line depicts all about the DOCTYPE, then the question arises to a beginner developer what is this DOCTYPE all about. Yeah here is the answer DTD (Document Type Definition) defines the basic syntax of a web page in Standard Generalized Markup Language (SGML). The document type declaration should be the first line in an XHTML document. Basically we have 3 doctype declarations those are depicted below:
- STRICT
- TRANSITIONAL
- FRAMESET
Strict:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Transitional:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Frameset:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
Related Entries...
There might be some scenarios where we need to check whether a particular DIV is visible or not and i ...
This is a simple cross-browser snippet to open an e-mail message window onclick of a button using Jav ...
Introduction: As we all know HTML 5 is the next major version of HTML. I thought to share some of th ...
Introduction: After going through this article, you can be able to develop a simple slide panel appl ...
Many of us might have faced this issue especially in IE browsers, issue goes like this! when we apply ...
Introduction This post help beginners to learn and implement some jQuery Web Applications. Develop S ...
Introduction: This is one of the good example on how we can load a ThickBox (Example: ThickBox relat ...
After going through this article, you will get an idea on resolving browser compatibility issues whil ...
This article will help beginners, that is who are new to jQuery and want to learn some tricks about j ...
'How to select elements which are having multiple classes using jQuery', this question has raised whe ...























Leave Your Response