Logo MART 341 Intro-Web-Dev
  • Modules
    • Week 1
    • Week 2
    • Week 3
    • Week 4
    • Week 5
    • Week 6
    • Week 7
    • Week 8
    • Week 9
    • Week 10
    • Week 11
    • Week 12
    • Week 13
    • Week 14
  • FAQ
  • About

Additional HTML Elements

Topic Overview

Comments in HTML

Leaving Messages and Notes in HTML Adding HTML Comments TODO

Attributes

Review: HTML Elements and Tags Adding Attributes Revisit the Root Improving Document Structure TODO

Declaring Doctype

Review: DOCTYPE In the Past In the Now TODO

Head Elements

Review: The Head Meta Viewport Title Link Style Review: Head Elements TODO

Body Elements

Review: The Body Structural Markup Semantic Markup TODO

Semantic Markup

Bold and Strong Italic and Emphasis Superscript and Subscript Quotes and Blockquotes Abbreviations and Acronyms Citations Definitions Addresses Insert and Delete Strikethrough TODO

Lists

List Types Ordered Unordered Definitions Nested Lists TODO

External Hyperlinks

Hyperlinks and Hypertext Creating a Link Setting the Target Links to Other Sites E-mail Links TODO

Proper and Polite Code

Nobody Likes Rude Code 1. Logical or Linear Ordering 2. Properly Nested Tags 3. Indented Elements TODO

1. Logical or Linear Ordering

Most languages read and process top-to-bottom, so it’s vital to list them linearly or logically down the page.

HTML
<!DOCTYPE html>

<html>
  <body>

    <!-- This is improper ordering of blocks! -->
    <!-- The footer should come after the main content. -->
    <footer>
      <p>(C) School of Media Arts</p>
    </footer>

    <main>
      <h1>"Old Town Road"</h1>
      <h2>Yeah, I'm gonna take my horse to the old town road.</h2>
      <i>Lil Nas X</i>
    </main>

  </body>
</html>

development best-practice code organize

  • ← Previous
  • Next →

MART 341 Intro-Web-Dev © 2022