Module 9 Flashcards
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
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.
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. 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.
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
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.
Code to modify the background color of text or a webpage probably is an example of ___.
A.
XML
B.
JavaScript
C.
HTML
D.
CSS
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.
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
B. Website builder
Explanation: Website builders like Wix or Squarespace offer drag-and-drop interfaces, making them accessible to users without coding skills.
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>
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>
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. HTML
Explanation: HTML defines the structure and semantic meaning of content on a webpage (e.g., <p> for paragraphs, <a> for links).</a>
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
B. Displaying a slideshow of images
Explanation: JavaScript handles dynamic content, like interactive slideshows, making webpages more engaging.
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.
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.
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
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.
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>
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>
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
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.
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
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.
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
C. The link on your website will no longer work
Explanation: Links break when the destination URL changes, as noted in the materials.
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. Specify descriptive alternative information using the alt attribute
Explanation: The alt attribute provides accessibility and helps screen readers describe the image.