HTML Theory (w3schools)

Ace your homework & exams now with Quizwiz!

Always add a trailing slash to sub-folder references. T or F

T

What is the purpose of a web browser?

The purpose of a web browser is to read HTML documents and display them as web pages.

The tag for a HTML comment is:

<!-- -->

What kind of language is HTML?

HTML is a markup language.

What is HTML?

HTML is the language for describing web pages.

What are the names of a tag pair?

The first tag in a pair is the start tag, the second tag is the end tag.

What does the href attribute defines?

The href attribute defines the destination of a link.

What attribute should be used for the HTML5 standard instead of the name attribute?

The id attribute

What is the name attribute used for?

The name attribute is used to specify the name of an anchor and create a bookmark inside an HTML document.

What is the syntax of a tag to use and image as a link?

<a href="link"> <img src="image location"> </a>

What pair of HTML tags describe the visible content?

<body> and </body>

Which tag defines the most important heading?

<h1>

Which tags define HTML headings?

<h1> to <h6>

Which tag creates an horizontal lane in a HTML page?

<hr />

What pair of HTML tags describe a web page?

<html> and </html>

Defines a paragraph:

<p> </p>

Which HTML tags define a paragraph?

<p> and </p>

What is a hyperlink/link?

A hyperlink (or link) is a word, group of words, or image that you can click on to jump to a new document or a new section within the current document.

What is a markup language?

A markup language is a set of markup tags.

What are HTML tags?

HTML tags a keywords surrounded by angle brackets.

Which attribute is used to break out of a frame / go to the top used in the anchor tag?

target="_top"

In which two ways can the <a> tag be used and by which attributes?

1. To create a link to another document, by using the href attribute. 2. To create a bookmark to a document, by using the name attribute.

What is the HTML code syntax for a link?

<a href="url">Link text</a>

The recommended tag for HTML line break is:

<br />

Which HTML tag defines an image?

<img>

What is a HTML element?

An HTML element is everything between the start tag to the end tag.

HTML comments inserted into the HTML document code inside comment tags are displayed by web pages. T or F

F

HTML tags are case sensitive. T or F

F

Where are HTML attributes specified?

HTML attributes are always specified in the start tag.

What do HTML attributes do?

HTML attributes provide additional information about HTML elements.

What are HTML documents defined by?

HTML documents are defined by HTML elements.

What do HTML documents contain?

HTML documents contain HTML tags and plain text.

What do HTML documents describe?

HTML documents describe web pages.

What are HTML elements with no content called?

HTML elements with no content are called empty elements.

What happens if the browser does not find the named anchor specified?

If the browser does not find the named anchor specified, it goes to the top of the document. No error occurs.

Is HTML a programming language?

No.

HTML documents = ?

Web pages

Which HTML attribute defines a link address in the <a> tag?

href

What is the form of an HTML attribute?

name="value"

What is the HTML link tag syntax?

<a href="url">text</a>

Tag that defines a link:

<a> </a>

Which HTML tags define a HTML link?

<a> and </a>

Inserts a single line break:

<br />

What are HTML markup tags usually called?

HTML markup tags are usually called HTML tags.

What HTML stands for?

HTML stands for Hyper Text Markup Language.

What does HTML use to describe web pages?

HTML uses markup tags to describe web pages.

What are start tag and end tag also called?

Start and end tag are also called opening tags and closing tags.

Attribute names and attribute values are case-insensitive. T or F

T

Browsers automatically add an empty space before and after a paragraph tag. T or F

T

Browsers automatically add some empty space (a margin) before and after each heading. T of F

T

It is recommended to use lowercase in HTML tags. T or F

T

Search engines use your headings to index the structure and content of your web pages. T or F

T

When you move the cursor over a link in a Web page, the arrow will turn into a little hand. T or F

T

With HTML, you cannot change the output by adding extra spaces or extra lines in your HTML code. T or F

T


Related study sets

Microbio CHAPTER 1 If David's lesion is indeed being caused by a pathogenic organism, which of the following terms would be used to describe the relationship between David and the microbe?

View Set

Computer Science Mid term study guide-- Questions

View Set

Chapter 34: Contracts in Property Management

View Set