Introduction to HTML

Question 1 of 36

Medal-premium 1

In HTML, the H stands for Hypertext and it means that

Select one of the following:

  • Content on web pages can be connected to other content via hyperlinks using the Anchor or A tag

  • Content can be connected to other content via the <i> tags

  • Using the <link> tag, we can connect text and images in our markup to other documents

  • Documents in HTML have special markup that modifies the way the text looks

Question 2 of 36

Medal-premium 1

IN HTML, the M stands for markup and is a way of annotating text in order to

Select one or more of the following:

  • Add meaning to the text

  • Style the text so that it looks a certain way

  • Define a structure for your document in order to create a hierarchy of meaning

  • Allow you to create links to other documents

Question 3 of 36

Medal-premium 1

On a web page, the HTML language is supposed to add what? to a document

Select one of the following:

  • structure

  • layout

  • interactivity

Question 4 of 36

Medal-premium 1

What is the importance of creating semantic HTML?

Select one or more of the following:

  • Helps you create meaning and structure to a document, so that it can better be understood by layout and script languages

  • Makes it easier for search engines to understand the structure of a web page

  • Makes a web page have beautiful styles and layouts

  • Without a properly structured HTML document, the other web languages can fail to style or execute interactivity

Question 5 of 36

Medal-premium 1

The order or the attributes in an HTML tag is irrelevant

Select one of the following:

  • True
  • False

Question 6 of 36

Medal-premium 1

All tags including image tags must to have a beginning and a closing version of the tag. The closing version of the tag is always closed with an additional slash

Select one of the following:

  • True
  • False

Question 7 of 36

Medal-premium 1

Which of these are correct statements regarding the number of attributes in HTML tags?

Select one of the following:

  • Some tags can have no attributes

  • All tags must have at least one attribute

  • Attributes must appear in alphabetical order

Question 8 of 36

Medal-premium 1

An HTML element can have an infinite number of attributes in no particular order

Select one of the following:

  • True
  • False

Question 9 of 36

Medal-premium 1

Some HTML elements like the <img> and <a> need at least one attribute in order to make sense

Select one of the following:

  • True
  • False

Question 10 of 36

Medal-premium 1

In order to emphasize or change the meaning of the word "love" in the sentence: I love cookies, which of these is the most appropriate markup

Select one of the following:

  • I <em>love</em> cookies

  • I <em>love cookies</em>

  • I <strong>love</strong> cookies

  • I <b>love</b> cookies

Question 11 of 36

Medal-premium 1

Which of these statements is true regarding container tags

Select one or more of the following:

  • They always have an opening and closing tag as in <em>love</em>

  • Attributes are optional and not always needed

  • The meaning of the content is changed by the tags

  • What they look like is very important to the meaning

Question 12 of 36

Medal-premium 1

What are some examples of container tags

Select one or more of the following:

  • <em>

  • <img>

  • <a>

  • <br>

Question 13 of 36

Medal-premium 1

What are some examples of standalone tags

Select one or more of the following:

  • <img>

  • <a>

  • <br>

  • <p>

Question 14 of 36

Medal-premium 1

When creating an image, which of these attributes are required in order for it to be valid and display an image

Select one or more of the following:

  • src

  • href

  • alt

  • width

Question 15 of 36

Medal-premium 1

Which of these is the correct way to link the text "click here" to planetoftheweb.com

Select one of the following:

  • <a href="http://planetoftheweb.com">click here</a>

  • <a href="planetoftheweb.com">click here</a>

  • <a src="http://planetoftheweb.com">click here</a>

  • <link href="http://planetoftheweb.com">click here</link>

Question 16 of 36

Medal-premium 1

Assuming you have a logo called "logo.png", what's the valid markup to link it to the website go.com?

Select one of the following:

  • <a href="http://go.com"><img src="logo.png" alt="Company Logo"></a>

  • <a href="http://go.com"><img src="logo.png"></a>

  • <img href="http://go.com" src="logo.png" alt="Company Logo">

  • <link href="http://go.com"><img src="logo.png" alt="Company Logo"></link>

Question 17 of 36

Medal-premium 1

When using headline tags, the higher the number the more important the headline, so for example an h6 tag is much more important than an h1 tag.

Select one of the following:

  • True
  • False

Question 18 of 36

Medal-premium 1

Some tags like lists have to be expressed as compound tags with one set of elements inside a set of container tags

Select one of the following:

  • True
  • False

Question 19 of 36

Medal-premium 1

To create a list, where the order of the elements is significant, which of these compound containers would you use?

Select one of the following:

  • <ul>

  • <ol>

  • <dl>

  • <dt>

Question 20 of 36

Medal-premium 1

A h1 tag is a good example of

Select one or more of the following:

  • Block Level Tags

  • Inline Tags

  • Tags with vertical spacing before and after the element

  • Compound tags

Question 21 of 36

Medal-premium 1

The generic block level element is the

Select one or more of the following:

  • <div>

  • <span>

  • <p>

  • <strong>

Question 22 of 36

Medal-premium 1

The generic inline tag is

Select one or more of the following:

  • <div>

  • <span>

  • <inline>

  • <block>

Question 23 of 36

Medal-premium 1

The <UL> tag is an example of a

Select one or more of the following:

  • Compound tag

  • Block Level

  • Inline

  • Standalone

Question 24 of 36

Medal-premium 1

An H1 tag

Select one or more of the following:

  • Standalone tag

  • Block Level tag

  • Denotes importance

  • By default, has spacing before and after the element

Question 25 of 36

Medal-premium 1

An <em> tag is

Select one or more of the following:

  • An inline tag

  • A block level tag

  • Has a newline and spacing before and after the tag

  • is normally displayed as bold in most browsers

Question 26 of 36

Medal-premium 1

A <nav> tag is

Select one or more of the following:

  • A structural tag

  • May be used several times in a document

  • Block level

  • Inline

Question 27 of 36

Medal-premium 1

A generic tag allows you to create your own sections of content. The generic, block level tag is

Select one of the following:

  • <div>

  • <span>

  • <link>

  • <a>

Question 28 of 36

Medal-premium 1

Classes are a way to add semantic meaning to an existing tag. They should be unique and be used only once in a single HTML document

Select one of the following:

  • True
  • False

Question 29 of 36

Medal-premium 1

IDs are a way to add semantic meaning to an existing tag, they do not need to be unique and therefore should be used as many times as necessary in an HTML document

Select one of the following:

  • True
  • False

Question 30 of 36

Medal-premium 1

You can add more than one class to a single tag by separating them with spaces, so therefore this notation would be valid <div class="home content wrapper">

Select one of the following:

  • True
  • False

Question 31 of 36

Medal-premium 1

In an HTML document the first tag on your document is the

Select one of the following:

  • DOCTYPE

  • BODY

  • HTML

  • HEAD

Question 32 of 36

Medal-premium 1

The parent container of all other HTML in a document is

Select one of the following:

  • <!DOCTYPE html>

  • <html>

  • <meta>

  • <body>

Question 33 of 36

Medal-premium 1

Information you don't want your users to see, but you want your browser to know is placed inside which tag

Select one of the following:

  • <html>

  • <head>

  • <title>

  • <header>

Question 34 of 36

Medal-premium 1

Extra spaces, tabs and carriage returns do not render on a browser and should be used to make your code easier to read.

Select one of the following:

  • True
  • False

Question 35 of 36

Medal-premium 1

What's the proper notation for a comment?

Select one of the following:

  • <comment></comment>

  • <!-- comment -->

  • <-- comment -->

  • <!-- comment --!>

Question 36 of 36

Medal-premium 1

What's the proper way to encode an ampersand character

Select one or more of the following:

  • &

  • &amp;

  • &#38;

  • &&

Icon_fullscreen

Introduction to HTML

planetoftheweb
Quiz by , created almost 2 years ago

Introduction to the HyperText Markup Language.

Eye 394
Pin 1
Balloon-left 0
Tags
planetoftheweb
Created by planetoftheweb almost 2 years ago
Close