🌍 All Study Guides📊 Dashboard📰 Blog💡 About
IBM Applied AI to IBM AI Developer Professional Certificate • STUDY MODE

HTML OVERVIEW

QUESTION 1 OF 13

Which tag is used to provide keywords for search engines?

A
<title>
B
<header>
C
<meta>Correct Answer
D
<footer>
Explanation:

Explanation. The <meta> tag stands for metadata, and provides keywords for search engines

QUESTION 2 OF 13

Fill in the blank: In HTML5, ______________ allow you to run processing intensive tasks without blocking the user interface.

A
Web workersCorrect Answer
B
DOM accessors
C
Non-blocking feeds
D
Structural elements
Explanation:

Web workers provide a way to run other, processing intensive tasks without blocking the main JavaScript code or the user interface

QUESTION 3 OF 13

How do you properly recreate the following table using HTML code? Date Language 2014 HTML5 1999 CSS3 1995 JavaScript

A
<table> <td> <th>Date</th> <th>Language</th> </td> <td> <tr>2014</tr> <tr>HTML5</tr> </td> <td> <tr>1999</tr> <tr>CSS3</tr> </td> <td> <tr>1995</tr> <tr>JavaScript</tr> </td> </table>
B
<table> <tc> <th>Date</th> <th>Language</th> </tc> <tc> <td>2014</td> <td>HTML5</td> </tc> <tc> <td>1999</td> <td>CSS3</td> </tc> <tc> <td>1995</td> <td>JavaScript</td> </tc> </table>
C
<table> <tr> <th>Date</th> <th>Language</th> </tr> <tr> <td>2014</td> <td>HTML5</td> </tr> <tr> <td>1999</td> <td>CSS3</td> </tr> <tr> <td>1995</td> <td>JavaScript</td> </tr> </table>Correct Answer
D
<table> <tr> <td>Date</td> <td>Language</td> </tr> <tr> <th>2014</th> <th>HTML5</th> </tr> <tr> <th>1999</th> <th>CSS3</th> </tr> <tr> <th>1995</th> <th>JavaScript</th> </tr> </table>
Explanation:

Running this code will produce the expected result.

QUESTION 4 OF 13

Which of the following statements about document.images is correct?

A
document.images is a DOM property
B
document.images returns a collection of image elements in a document
C
document.images is part of the HTML document API
D
All of the aboveCorrect Answer
Explanation:

All the options listed are true. GRADED QUIZ: HTML OVERVIEW 1.Which of the following statements embeds an image in an HTML document? a) <image>link_to_image</image> b) <figure src=”image URL”>image name</figure> c) <img src=”image URL”> (CORRECT) d) <img href=”image URL”>image name</img> Explanation: The <img> element is used for images, with the “src” attribute defining the location of the image. Review the “Common HTML Elements” reading for further review on HTML images.

QUESTION 5 OF 13

When defining a hyperlink (<a>), which attribute is used to specify the destination address?

A
Ref
B
target
C
src
D
hrefCorrect Answer
Explanation:

This attribute defines the destination address in a hyperlink. Review the “Common HTML Elements” reading for further review on hyperlinks.

QUESTION 6 OF 13

Which tag CANNOT be used as a container for text? I.e. does not use both an opening <> and closing </> tag d )<body>

A
<h1>
B
<br>Correct Answer
C
<p>
Explanation:

This is used as a single line break, and therefore does not need to enclose any data within it, making it able to be used without a closing tag. Review the “Common HTML Elements” reading for more practice with common HTML tags.

QUESTION 7 OF 13

How are comments written in HTML?

A
“””This is a comment”””
B
#This is a comment
C
< !-- This is a comment -- >Correct Answer
D
/*This is a comment*/
Explanation:

An example of this can be found in the HTML features video.

QUESTION 8 OF 13

Which tag is used to denote a cell of data within a table?

A
<tc>
B
<tr>
C
<td>Correct Answer
D
<th>
Explanation:

This HTML tag stands for "table data" and is used to specify data within a table cell. Review the “Common HTML Elements” reading for further review on working with tables.

QUESTION 9 OF 13

Which of the following is NOT an HTML tag?

A
<!DOCTYPE html>Correct Answer
B
<li>
C
<p>
D
<ul>
Explanation:

The <!DOCTYPE> declaration is not an HTML tag. It is an instruction to the browser about what document type to expect. Review the HTML features video for a more detailed explanation of this.

QUESTION 10 OF 13

What is the <br> tag used for?

A
To make text bold
B
To change the border
C
To add a line breakCorrect Answer
D
To change the text color to brown
Explanation:

The <br> tag is used to add a line break to your HTML content. Review the “Common HTML Elements” reading for further review about this.

QUESTION 11 OF 13

Which of the following denotes the least important heading?

A
<h10>
B
<h5>
C
<h6>Correct Answer
D
<h1>
Explanation:

HTML headings go from <h1> to <h6>, to represent a descending order of importance. Review the “Common HTML Elements” reading for further review about headings.

QUESTION 12 OF 13

Which tag is used to create an ordered list?

A
<ul>
B
<ol>Correct Answer
C
<li>
D
<orderedlist>
Explanation:

The <ol> tag stands for ordered list, and can be used to create a list with each item denoted with an <li> tag (list item). Review the “Common HTML Elements” reading for more review with this.

QUESTION 13 OF 13

Which of the following conditions must be met for scripting to be enabled in browsers? Select one or more options.

A
An embedded object is used without the sandbox attribute
B
The browser context has the sandboxed browsing context flag set
C
The user has not disabled scripting for the current browser contextCorrect Answer
D
The browser supports scriptingCorrect Answer
Explanation:

Scripting must be enabled in the browser. Review the HTML scripting video. Explanation: The browser in question must support scripting. Review the HTML scripting video.

Ready to test your recall?

Which tag is used to provide keywords for search engines?

A
<title>
B
<header>
C
<meta>
D
<footer>

How confident are you in this answer?