Skip to main content

SemanticMeaning of Code

aka Semantics

References

  1. Strict Modeopt-in variant of JS with more restrictive Semantic & rules for JS Compiler

  2. Logical ErrorNon-exception Failures & bug from bad Semantic in Source Code

  3. Spaghetti Code ↔ Messy Source Code with obfuscated Semantic 🍜👨‍💻

  4. <strong\>Semantic <b\> Inline Element to style text as bold & indicate strong importance

  5. <b>Inline Element to style text as bold w/o Semantic

  6. <em\>Semantic <i\> Inline Element to style text as italic & indicate stressed emphasis

  7. <i>Idiomatic Text Inline Element to style text as italic w/o Semantic

  8. <cite\>Semantic <i\> Inline Element to style text as italic & mark as citation for literature reference

  9. <mark\>Mark Text Inline Element to highlight text with Semantic for text of interest

  10. <dfn\>Definition Semantic <i\> Inline Element to style text as italic & mark as definition phrase/sentence

  11. <del\>Semantic<s\>Inline Element to apply strikethrough for Deleted Text

  12. <ins\>Inserted Text Semantic <u\> Inline Element to apply underline & mark text added to document

  13. <address\>Contact Address Inline Element to mark Semantic contact details of person/organization

  14. <small\>Small Print Inline Element to display text in smaller font size with Semantic of side-comments, copyright & legalese

  15. <span> ↔ generic Inline Element container w/o Semantic

  16. <menu>Semantic <ul\> Menu List Block Element to display list of Interactive items

  17. <footer\>Semantic Footer <div\>for info about author, copyright & related content

  18. <header\>Semantic Header <div\>to group intro content

  19. <main>Semantic Main Content <div\>to group <article\> & sub-content elements

  20. <section\>Semantic generic Section <div\> to contain standalone section of Document

  21. <nav\>Semantic Navigation Section <div\>to group navigational Element

  22. <article>Article ContentSemantic<div\>Block Element to contain main text content

  23. <u>Underline Inline Element to style text with underline as unarticulated annotation Semantic

  24. <time>datetime Inline Element to Semantic mark date for machine-compat

  25. URL Slug ↔ (Design Pattern) to name Resource Path as Semantic keywords in kebab-case for better SEO

  26. Token ↔ smallest element of Programming Language/network/security to rep something of Semantic relevance

  27. Semantic CSS ↔ (Design Pattern) to name CSS classes with descriptive human-readable Semantics

  28. <div> ↔ generic content divisionBlock Element to contain Flow Content w/o Semantics

  29. Sloppy Mode ↔ (default) non-Strict Mode Semantics for JS Compiler