1/41
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No study sessions yet.
chose the correct file format for robots:
robots.txt

based on the folder structure, write the content of the robots file to prevent all search engines (*) to index m
User-agents: *
Disallow: cs392/projects/mini-projects/mp1
why is indentation important for HTML coding?
it improves code readability and maintainability
Who is widely recognized as the first computer programmer?
Ada Lovelace
What is the significance of the <!-- --> tag in HTML?
It allows developers to add comments to their code
What does HTML stand for?
Hypertext Markup Language
Write the code of a HTML skeleton
Given:
<meta charset = “UTF-8”>
<[tle> Midterm-1 | CS-103 </[tle>
<!DOCTYPE html>
<html lang=“en”>
<head>
<meta charset = “UTF-8”>
<Title> Midterm-1 | CS-103 </title>
</head>
<body>
</body>
</html>
Disney's animated film, Snow White and the Seven Dwarfs (1937), is still protected under Disney's copyrights.
True
What type of links are typically grouped inside a <nav></nav> tag?
Internal Navigation
What does the footer section of a webpage conventionally contain?
Copyright statement
Under current US law, when is copyright in effect?
As soon as a work is created
What is fair use in US copyright law
Provision that allows limited use for specific purposes

Write the HTML code for a footer that includes the following credit statement
Note:
• Use must use Unicode for the copyright logo at the beginning.
• “Privacy Statement” is a link and leads to this URL:
hfps://www.bu.edu/policies/
• “Accessibility” is a link and leads to this URL:
hfps://www.bu.edu/disability/
<footer>
<p>
© 2023 Trustees of Boston University
<a href=“hfps://www.bu.edu/policies/ ”>Privacy Statement</a>
<a href=“hfps://www.bu.edu/disability/>Accessibility</a>
</p>
</footer>

If you want to use the profile.jpg image in resume.html given the
project structure, what should be the value of the src attribute?
src="../src/profile.jpg"
Which of the following is not a web browser-supported image format?
Tiff
Which of the following is a block level element?
<hr>
Which term refers to ethical SEO?
White hat SEO
What is sitemap.xml used for?
Providing a road map for search engine bots to index website pages
Complete the following sitemap.xml:
<?____ version="1.0" encoding="UTF-8"?>
<___ schemaLoca[on="hfps://www.sitemaps.org/schemas/sitemap/0.9 ">
<_____>
<____>/cs-103/labs/lab-3/b/resume.html</ ____>
<lastmod>2008-01-01</ _____ >
<_____>weekly</changefreq>
<priority>1</____>
</____>
</_____>
<?xml version="1.0" encoding="UTF-8"?>
<urlset schemaLoca[on="hfps://www.sitemaps.org/schemas/sitemap/0.9 ">
<url>
<loc>/cs-103/labs/lab-3/b/resume.html</ loc>
<lastmod>2008-01-01</ lastmod >
<changefreq>weekly</changefreq>
<priority>1</priority>
</url>
</urlset>
What Unicode character represents the copyright logo?
©

Given the folder/file structure, create an audio tag
Note:
• Your file-addressing in the audio tag, must be done under the assumption that the audio tag is in audio.html
<audio src=“../3/src/audio.mp3” controls></audio>

Given the folder/file structure, create a video tag:
Note:
Your file-addressing in the video tag, must be done under the assumption that the video tag is in video.html.
<video src=“../3/src/audio.mp3” controls></video>
The content of the index.html file does not matter as much as its name does
True
Which one of these file names violates spinal-case convention:
I-love-massachusetts

Based on the folder structure, write the content of the robots file to prevent Google (googlebot) to index mp1
User-agents: googlebot
Disallow: cs392/projects/mini-projects/mp1
Which attribute is used for the anchor <a> tag when you want your link to be opened in a new tab?
target
What is abstraction in the context of computer science?
A process of reducing complexity for efficient design
How do computers denote ON and OFF states?
With binary numbers 0 and 1
Aside from being a Hollywood actress, what is Hedy Lamarr known for?
Contributing to the development of the modern Wi-Fi technology.
Write the code of an HTML Table (with any content you want, movies, books, etc.)
Note:
• The table must have at least 2 rows.
• Each row must have at least 3 columns
<table>
<tr>
<th>Book</th>
<th>Movie</th>
<th>Song</th>
</tr>
<tr>
<td>A Farewell to Arms</td>
<td>Dances with Wolves</td>
<td>All Along the Watchtower</td>
</tr>
</table>
Disney's animated film, Snow White and the Seven Dwarfs (1937), is still protected under Disney's copyrights.
True
What is the main purpose of Creative Commons licenses?
To allow others to reuse content with specified conditions
When using a work under a Creative Commons license, what must you provide in your copyright statement?
The source, artist, and license of the work

Write the HTML code for a footer that includes the following credit statement:
Note:
• Use must use Unicode for the copyright logo at the beginning.
• “Sitemap” is a link and leads to this URL:
h:ps://github.com/sitemap
• “What is Git?” is a link and leads to this URL:
h:ps://github.com/git-guides
<footer>
<p>
© 2023 GitHub, Inc. Terms Privacy (Updated 08/2022)
<a href=“hFps://github.com/sitemap”>Sitemap</a>
<a href=“hFps://github.com/git-guides”>What is Git?</a>
</p>
</footer>
What does the abbreviation "BY" in Creative Commons licenses stand for?
Attribution
How does the meta-descripIon tag help search engines?
It helps search engines understand what the webpage is about.
What do block-level elements do?
They start on a new line and force the next element on a new line.
What happens if you forget to include the controls attribute in a video tag?
The video will display but won’t play.
Which video formats are playable in web browsers?
MP4, WebM, Ogg
Which term refers to unethical SEO?
Black-hat SEO

Given the folder/file structure, create an audio tag
Note:
• Your file-addressing in the audio tag, must be done under the assumption that the audio tag is in audio.html.
<audio src=“../boo/src/audio.mp3” controls></audio>

Given the folder/file structure, create a video tag
Note:
Your file-addressing in the video tag, must be done under the assumption that the video tag is in video.html.
<video src=“../boo/src/audio.mp3” controls></video>