Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Research](https://md.research.elamur.ai/free/en/) · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/) · [OCR](https://md.ocr.elamur.ai/free/en/)

[Elamur Dictionary](https://md.dictionary.elamur.ai/free/en/) · [this page in HTML](https://dictionary.elamur.ai/free/en/english/doctype/examples/1/)

[dictionaries](https://md.dictionary.elamur.ai/free/en/) / [English](https://md.dictionary.elamur.ai/free/en/english/) / doctype

# doctype

English · noun

## Examples, page 1

[Back to senses and usage](https://md.dictionary.elamur.ai/free/en/english/doctype/)

- 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](https://en.wikipedia.org/wiki/CSS) (Wikipedia contributors). Licence: [cc-by-sa-4.0](https://creativecommons.org/licenses/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](https://en.wikipedia.org/wiki/HTML) (Wikipedia contributors). Licence: [cc-by-sa-4.0](https://creativecommons.org/licenses/by-sa/4.0/). — Mova's open texts (cc-by-sa-4.0)
- DOCTYPE html\> An example of an HTML 4 doctype — [Wikipedia: HTML](https://en.wikipedia.org/wiki/HTML) (Wikipedia contributors). Licence: [cc-by-sa-4.0](https://creativecommons.org/licenses/by-sa/4.0/). — Mova's open texts (cc-by-sa-4.0)

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://dictionary.elamur.ai/sitemap.xml) · [llms.txt](https://dictionary.elamur.ai/llms.txt)
