Skip to content

Instantly share code, notes, and snippets.

@rogerwschmidt
Created May 15, 2017 23:55
Show Gist options
  • Save rogerwschmidt/3c9483e17f9d8a7cfcda369d7f905f70 to your computer and use it in GitHub Desktop.
Save rogerwschmidt/3c9483e17f9d8a7cfcda369d7f905f70 to your computer and use it in GitHub Desktop.

HTML/CSS review

Objectives

Describe how HTML structures it's elements.

Create a tree diagram for the following html code


<html>
<head>
  <title>
    This is HTML
  </title>
</head>
<body>
  <h1>This is the title of my page</h1>
  <p>This is a paragraph</p>
</body>
</html>

Use heading tags to add headings to an html page.

To the example above, add heading tags h2 to h6

Use paragraph tags to add text to an html page.

To the example above, add a paragraph tag

Add links to an html page.

To the example above, add a link to www.google.com

Describe the difference between elements, tags, and contents in HTML.

Turn to your neighbor and discuss the difference between elements, tags and content

Describe the difference between block-level and inline elements.

Turn to your neighbor and discuss the difference between block level and inline elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment