From 7c9a64bc31956d47074e5c96e51cc767e97c5a6c Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Thu, 5 Jul 2018 23:58:12 +1200 Subject: [PATCH] Tag omission notes --- notes/parsing/tag-omission.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 notes/parsing/tag-omission.md diff --git a/notes/parsing/tag-omission.md b/notes/parsing/tag-omission.md new file mode 100644 index 0000000..8fb3f3b --- /dev/null +++ b/notes/parsing/tag-omission.md @@ -0,0 +1,19 @@ +# Tag omission + +|Tag name|Details| +|---|---| +|`li`| The end tag can be omitted if the list item is immediately followed by another `
  • ` element, or if there is no more content in its parent element.| +|`p`| The start tag is required. The end tag may be omitted if the `

    ` element is immediately followed by an `

    `, `
    `, `