doctype
English · noun
Senses
Sense 1 · noun · corpus
A declaration at the start of a web page's code that tells a browser what document type to expect.
Source: Mova's open texts. Licence: cc-by-sa-4.0.
Forms and counts
Noun
- Forms: doctype (Number: Sing); doctypes (Number: Plur).
Usage and labels
corpus
The examples show its use with HTML, the language used to structure web pages.
Examples
3 source examples.
- DOCTYPE html> <html> <head> <meta charset="utf-8"> <style> #xyz { color: blue; } </style> </head> <body> <p id="xyz" style="color: green;">To demonstrate specificity</p> </body> </html> In the above example, the declaration in the style attribute overrides the one in the <style> element because it has a higher specificity, and thus, the paragraph appears green: — Wikipedia: CSS (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
- DOCTYPE html> <html> <head> <title>This is a title</title> </head> <body> <div> <p>Hello world! — Wikipedia: HTML (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
- DOCTYPE html> An example of an HTML 4 doctype — Wikipedia: HTML (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
Notes and derived forms
corpus
Sources
Mova's open texts. Licence: cc-by-sa-4.0.
Mova's concept inventory, from the Open Multilingual Wordnet (Princeton WordNet 3.0, WOLF) and Wiktionary translation tables. Licence: CC-BY-SA-4.0 AND WordNet-3.0 AND CeCILL-C.
Mova's word records: counts from Mova's corpus index, word lists from Wiktionary and Mova's concept inventory. Licence: cc-by-sa-4.0.
This page in Markdown https://md.dictionary.elamur.ai/free/en/english/doctype/