Preview

01 - Introduction to HTML

 1. HTML is the standard markup language for creating _____________

  internet networks

  web pages

  the internet

  web servers

 2. HTML stands for Hyper Text Markup __________
Note: You can play around with HTML/Javascript/CSS in this trinket. 
You can also use 'Notepad' to write code in HTML.
Save your file, and the file name ends with ".html"

  Language

  Lark

  Land

  Lingual

 3. HTML elements are the building blocks of HTML pages

  TRUE

  FALSE

 4. HTML elements are represented by ______

  terms

  codes

  tags

  brackets

 5. HTML tags label pieces of _________ such as "heading", "paragraph", "table", and so on

  internet URLs

  pixels

  the device connected to the internet

  content

 6. Browsers do not display the HTML tags, but use them to _______ the content of the page

  delete

  fix

  render

  collapse

 7. How do you know the following code is not HTML?
# Get three test score
round1 = int(raw_input("Enter score for round 1: "))

round2 = int(raw_input("Enter score for round 2: "))

round3 = int(raw_input("Enter score for round 3: "))
   
# Calculate the average
average = (round1 + round2 + round3) / 3

# Print out the test score
print "the average score is: ", average 

  Because all HTML code must start and end with the html start and end tags in triangular brackets, Furthermore, print is not a command in HTML

  All HTML code should begin with an exclamation mark which marks the start of a page.

  Actually, it is HTML!

  All HTML should start with a # and end with a #. This doesn't end with a #

 8. What is missing from this HTML code?
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

<body>
<html>

  The first two lines should be deleted

  The last line should be in capitals: HTML

  The body tag should be in ordinary brackets like so: (body)

  The last two lines (body and html tags) are not closed - missing a backslash

 9. The head tags contain meta information about the document

  False

  True

 10. Html is the same as a language like Python or Java and can be used by itself to create powerful database driven websites.
To clarify, it is possible to make an interactive, powerful, dynamic, database drive webpage with only HTML and no other language. 

  FALSE

  TRUE