Directive vs Doctype - What's the difference?
directive | doctype |
An instruction or guideline that indicates how to perform an action or reach a goal.
An authoritative decision from an official body, which may or may not have binding force.
(European Union law) A form of legislative act addressed to the Member States. The directive binds the Member State to reach certain objectives in their national legislation.
The directive case.
that directs
serving to direct, indicate, or guide.
(grammar) relating to the directive case
(computing) A directive that associates an SGML or XML document (such as a webpage) with a , potentially affecting how it is parsed and rendered.
* 2006 , Paul Haine, HTML mastery: semantics, standards, and styling
* 2007 , Matthew MacDonald, Beginning ASP.NET 3.5 in C# 2008
* 2008 , David Sawyer McFarland, JavaScript: The Missing Manual
As nouns the difference between directive and doctype
is that directive is an instruction or guideline that indicates how to perform an action or reach a goal while doctype is (computing) a directive that associates an sgml or xml document (such as a webpage) with a , potentially affecting how it is parsed and rendered.As an adjective directive
is that directs.directive
English
(wikipedia directive)Noun
(en noun)Adjective
(-)doctype
English
(wikipedia doctype)Noun
(en noun)- There are three XHTML 1.0 doctypes available
- Common idiosyncrasies that appear in web pages that don't have doctypes include varying text sizes and varying margin space between elements.
- Most Web page editing programs add an appropriate doctype when you create a new Web page
