From 78211f96953bc1a63570f2430cee4ad92c841ce4 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Tue, 6 May 2025 23:09:23 +0200 Subject: vault backup: 2025-05-06 23:09:23 --- HTML.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 HTML.md (limited to 'HTML.md') diff --git a/HTML.md b/HTML.md new file mode 100644 index 0000000..85deafd --- /dev/null +++ b/HTML.md @@ -0,0 +1,23 @@ +--- +tags: + - html + - web +--- +HyperText Markup Language. + +Describes structure of documents on the web. Consists of elements, which is denoted by tags. An element is everything from the start tag to the end tag and in between. An element can contain other elements. + +**Non-Replaced Elements** they contain and modify for example text, e.g `

` or ``. +**Replaced Elements** they are replaced by objects such as a widget or image. Such as `` or ``. +- They have a default appearance +**Void Elements** cannot have nested elements. E.g ``. + +**Attributes** are key-value pairs on elements. Can also be boolean, then value not required: `` + +Javascript object created for every element and section of text. **HTML DOM API** defines functionality to access and control each element. + +[[Document structure]] +[[Semantic HTML]] + +--- +https://web.dev/learn/html/welcome \ No newline at end of file -- cgit v1.2.3