HTML

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

What is the current HTML standard?

HTML5

Angle brackets

In HTML, the characters < and > are known as angle brackets.

What can you add to the body in an HTML file?

Once the file has a body, many different types of content can be added within the body, like text, images, buttons, and much more.

In HTML, there are ____ different headings, or heading elements. Headings can be used for a variety of purposes, like titling sections, articles, or other forms of content.

Six

The contents of the <title> tag will appear where in a modern browser?

The browser's tab or title bar

Attributes are made up of what two parts?

The name of the attribute and the value of the attribute.

Why should the document type declaration be included in all HTML documents?

To specify the HTML standard being used in the document

At the time of writing, the W3C recommends ____ spaces of indentation when writing HTML code. Indentation is intended for elements nested within other elements.

Two

That the end of the <img> element has _____. This is required for a self-closing element.

a forward slash /

HTML helps support visually impaired users with the ___ attribute. The ___ attribute is applied specifically to the <img> element. The value of ___ should be a description of the image.

alt

The term ____ is used to describe the basic HTML code required to begin creating a web page. Without all of the elements in the ____, you'll risk starting without the minimum requirements considered to be best practice.

boilerplate code

The anchor element in the example above is incomplete without the ____ attribute.

href

<img> element has a required attribute called ___, which is similar to the href attribute in links.

src

HTML

stands for HyperText Markup Language

The ___ attribute specifies that a link should open in a new window.

target

Opening tag

the first, or opening, HTML tag used to start an HTML element.

Closing tag

the second, or closing, HTML tag used to end an HTML element. Closing tags have a forward slash (/) inside of them.

If you look at the top of your browser (or at one of the tabs), you'll notice the words, which is the ___of this web page.

title

For a link to open in a new window, the target attribute requires a value of ____.

"_blank"

The alt attributes also serves the following purposes:

1. If an image fails to load on a web page, a user can mouse over the area originally intended for the image and read a brief description of the image. This is made possible by the description you provide in the alt attribute. 2. Visually impaired users often browse the web with the aid of screen reading software. When you include the alt attribute, the screen reading software can read the image's description out loud to the visually impaired user.

HTML files also allow you to add comments to your code. Comments begin with ___and end with___. Any characters in between will be treated as a comment.

<!-- -->

What must be the first line of code in all of your HTML documents

<!DOCTYPE html>

What tag instructs the browser to expect a well-formed HTML document?

<!DOCTYPE html>

You can add links to a web page by adding an anchor element ___ and including the text of the link in between the opening and closing tags.

<a>

Which tag would contain the HTML for a web page's visible content?

<body>

If you are interested in modifying the spacing in the browser, you can use HTML's line break element ____.

<br />

List the HTML heading elements in ordered from largest to smallest in size.

<h1> - used for main headings, all other smaller headings are used for subheadings, <h2>, <h3>,<h4>, <h5>, <h6>

Give the browser some information about the page by adding a(n) ___ element.

<head>

The HTML code <title></title> should only exist within what tag?

<head>

What tag contains metadata about the webpage?

<head>

All HTML code must be nested within ___ tag

<html>

To begin adding HTML structure and content, we must first add opening and closing of what tags

<html> </html>

The ___ element lets you add images to a web page.

<img>

Does <img> have a closing tab, if so why or why not?

<img> does not have a closing tag, it only has an opening tag. This is because the <img> element is a self-closing element.

The <ul> element, however, cannot hold raw text and cannot automatically format raw text with bullet points. To create a list you must use____ element

<li> element after each text

You can create the ordered list with the ___element and then add individual list items to the list using ___ elements.

<ol>,<li>

If you want to add content in paragraph format, you can add a paragraph using the paragraph element

<p>

In HTML, you can use the unordered list for text you decide to format in bullet points. To create a unordered list using HTML, you can use the ___element.

<ul>

HTML element (or simply, element)

HTML code that lives inside of angle brackets.


Set pelajaran terkait

The World Wide Web: Crash Course Computer Science #31

View Set

Network Module 3 Practice Questions

View Set

MGMT 322 Exam #1 Matching, MGMT 322 Exam #1

View Set

Peripheral Vascular disorders FINAL EXAM

View Set

Chapter 1 Vocabulary - Ratios and Proportional Reasoning

View Set