Module 9 Flashcards

1
Q

Older HTML tags that have been replaced with newer ways to accomplish the same task are called ___.

A.
depreciated

B.
defunct

C.
discontinued

D.
deprecated

A

D. Deprecated

Explanation: “Deprecated” refers to elements that are no longer recommended because better alternatives are available. They are still supported by browsers for backward compatibility but are expected to be phased out. The lecture notes mention that newer web standards replace older practices (W3C). The word “defunct” implies completely out of use, which isn’t the case for deprecated tags.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When coding a hyperlink to a webpage that is external to your website, an accepted behavior is to ___.

A.
use a relative webpage reference

B.
display a warning that you are visiting a webpage outside of your website

C.
open the page in the same browser tab

D.
open the page in a new browser tab

A

A. Open the page in a new browser tab

Explanation: The notes highlight the concept of navigation and hyperlink behavior. It’s common to open external links in a new tab (target=”_blank” in HTML) to ensure the user doesn’t lose the original site, enhancing usability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When you write HTML code, you use ___ to describe the structure of information on a webpage.

A.
links

B.
a web address

C.
styles

D.
tags

A

When writing HTML, you use ___ to describe the structure of a webpage.
Answer: D. Tags

Explanation: HTML uses “tags” to define elements and content structure (e.g., <p> for paragraphs). The notes cover HTML fundamentals, focusing on how tags are used to outline web content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Code to modify the background color of text or a webpage probably is an example of ___.

A.
XML

B.
JavaScript

C.
HTML

D.
CSS

A

D. CSS

Explanation: CSS (Cascading Style Sheets) handles the styling of webpages, including colors, fonts, and layouts. The notes indicate that HTML structures content, but CSS handles the visual presentation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

If you want to make a personal website and do not have any coding skills, you should probably use ___.

A.
an IDE

B.
a website builder

C.
a CMS

D.
Filezilla

A

B. Website builder

Explanation: Website builders like Wix or Squarespace offer drag-and-drop interfaces, making them accessible to users without coding skills.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of these tags is not specified in the <body> section of a webpage?

A.

<p>

B.
<h1>

C.
<br></br>

D.
<title>
</title></h1></p>

A

D. <title></title>

Explanation: The <title> tag belongs inside the <head> section, not <body>. It defines the page title shown in the browser tab.</title>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Code to specify webpage elements such as paragraphs, lists, links, audio or video files, is an example of ___.

A.
JavaScript

B.
XML

C.
CSS

D.
HTML

A

A. HTML

Explanation: HTML defines the structure and semantic meaning of content on a webpage (e.g., <p> for paragraphs, <a> for links).</a>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of these is a use for JavaScript on a webpage?

A.
creating a hyperlink

B.
displaying a slideshow of images

C.
displaying a photo as the background of a webpage

D.
centering text on a page

A

B. Displaying a slideshow of images

Explanation: JavaScript handles dynamic content, like interactive slideshows, making webpages more engaging.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which of these statements is true about XML?

A.
XML data is stored in binary, so it has small file sizes

B.
You can display XML data in a browser without special formatting

C.
You can export data from a database into XML to share with other applications

D.
Every XML file has a head and a body section.

A

C. You can export data from a database into XML to share with other applications

Explanation: XML is used for data interchange between different systems, as noted in the module.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of these usually is NOT collected by a website analytics tool?

A.
how long a visitor stays on each page on average

B.
names of website visitors

C.
number of visitors online

D.
type of device used to view the page

A

B. Names of website visitors

Explanation: Analytics tools typically track behavior, but they don’t collect personal identifiers like names unless users explicitly provide them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which of these tags is not specified in the <body> section of a webpage?

A.

<title>

B.
<br></br>

C.
<p>

D.
<h1>
</h1></p></title>

A

D. <title></title>

Explanation: The <title> tag belongs inside the <head> section, not <body>. It defines the page title shown in the browser tab.</title>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When you upload webpage files from your computer to a web server, you should use aNo ___.

A.
text editor

B.
webpage builder

C.
FTP client

D.
IDE

A

C. FTP client

Explanation: An FTP client allows the transfer of files from a local system to a web server, as mentioned in the module.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A web host’s uptime is a measure of ___.

A.
processing power available so complex database queries will run efficiently

B.
the speed of the solid-state drives on the web server, so information can be stored quickly

C.
reliability, so visitors can access your site without concerns that the web server is unavailable

D.
data transfer speed available so your site will load quickly

A

C. Reliability, so visitors can access your site without concerns that the web server is unavailable

Explanation: Uptime reflects the availability of the web host’s services.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

If your webpage contains a link to an external website and its web address changes, ___.

A.
the external website’s web host will notify you to update your webpage

B.
your webpage will automatically forward to the new address of the external page

C.
the link on your website will no longer work

D.
the link to the external website must be a relative reference

A

C. The link on your website will no longer work

Explanation: Links break when the destination URL changes, as noted in the materials.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When coding an image, HTML 5 requires you to ___.

A.
specify descriptive alternative information using the alt attribute

B.
specify height and width attributes

C.
use the <image> tag</image>

D.
place the image in an images folder

A

A. Specify descriptive alternative information using the alt attribute

Explanation: The alt attribute provides accessibility and helps screen readers describe the image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Older HTML tags that have been replaced with newer ways to accomplish the same task are called ___.

A.
defunct

B.
discontinued

C.
depreciated

D.
deprecated

A

D. Deprecated

Explanation: As explained earlier, “deprecated” means discouraged for use, with newer alternatives available.

17
Q

CSS lets you change the ___ of a website.

A.
speed

B.
structure

C.
behavior

D.
appearance

A

D. Appearance

Explanation: CSS controls the visual presentation of a site, including colors, fonts, and layouts.

18
Q

When you can click a button on a website to run code to change the font size, the code that changes the font size dynamically probably is an example of ___.

A.
HTML

B.
XML

C.
JavaScript

D.
CSS

A

A. JavaScript

Explanation: JavaScript allows for real-time changes, such as adjusting font sizes dynamically.

19
Q

Code to specify webpage elements such as paragraphs, lists, links, audio or video files, is an example of ___.

A.
HTML

B.
JavaScript

C.
CSS

D.
XML

A

A. HTML

Explanation: HTML provides the structure for these webpage elements.

20
Q

Code to modify the background color of text or a webpage probably is an example of ___.

A.
JavaScript

B.
CSS

C.
HTML

D.
XML

A

B. CSS

Explanation: CSS controls visual elements, including background colors.

21
Q

Which of these is most likely an example of a static website?

A.
a website for purchasing an airplane ticket

B.
a website for creating and sharing vacation photos

C.
a website for learning about a local barbershop’s hours and services

D.
a website for making reservations at a local restaurant

A

C. A website for learning about a local barbershop’s hours and services

Explanation: Static websites offer information that doesn’t change frequently, such as hours and contact details.

22
Q

C. A website for learning about a local barbershop’s hours and services

Explanation: Static websites offer information that doesn’t change frequently, such as hours and contact details.

A