Skip to content

HTML Tags

Browser doesn't recognize the tag?

  • Browsers inconsistent
  • May treat like div
  • Others will throw error????
  • Use a CSS normalizer

ins

  • Inserted content
  • Think of GitHub diffs
  • ins-tag.png
  • the default styling is pretty bare-bones 😞
  • if you want underlined text in markdown
<del>
    <p>“I apologize for the delay.”</p>
</del>
<ins cite="../howtobeawizard.html" datetime="2018-05">
    <p>“A wizard is never late …”</p>
</ins>

“I apologize for the delay.”

“A wizard is never late …”

section vs article

Article

Examples

  • any independent item of content
  • an interactive widget or gadget
    • forum post
    • a magazine or newspaper article
    • a blog entry, a user-submitted comment
    • section-example.png

https://html.spec.whatwg.org/multipage/sections.html#the-article-element

Section

Examples

  • chapters
  • the various tabbed pages in a tabbed dialog box
  • or the numbered sections of a thesis.
  • web site's home page could be split into sections for
    • introduction
    • news items
    • contact information.

https://html.spec.whatwg.org/multipage/sections.html#the-section-element

Modals

Problem with dialog

  • it's not accessible?

Dialogs, modality and popovers seem similar. How are they different? | hidde.blog

Form Elements

[[Forms]]


Last update: 2023-04-24