doctype
English · noun
Examples, page 1
- 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)
This page in Markdown https://md.dictionary.elamur.ai/free/en/english/doctype/examples/1/