HTML Unit Exam 2024/2025 Rated A+
How are comments written in HTML? - ANSWER-Comments are written by placing a !
After the first angled bracket.
Ex: <!DOCTYPE HTML>
How do you create a link to a specific part of a page? - ANSWER-the heading needs to
have an ID that can be used to link with the setup link.
Ex: <a href="#arc_shot">Arc Shot</a>
<h2 id="arc_shot">Arc Shot</h2>
How do you write a hyperlink to an external website? - ANSWER-<a
href="troyareasd.org">Troy Webpage</a>
Proper structure of an HTML element, what all does an "element" include? - ANSWER-
Elements are tags that tell the browser what to do with the information written for your
site. All elements include an opening and closing tag.
Purpose of Heading Tags (H1 - H6) - ANSWER-H1 - Main heading of a page
H2 - Sub-heading
H3-H6 - Sub-Subheadings
What are the advantages of a vector over an image using pixels? - ANSWER-You can
increase the dimensions of an image without affecting the quality of it. Vector images
are created by placing points on a grid and connecting then with lines. You can use a
color to fill in the lines and create an image.
What are the image formats most widely used on the web? - ANSWER-JGEG and GIF
What are the specific types of HTML lists? - ANSWER-Unordered list and ordered lists.
Both include list items. <li> </li>
What are the two global attributes and what does "global" mean in HTML? - ANSWER-
An ID attribute is known as a global attribute because they can be used in any element.
What can you use to explore the structure of any webpage on the Internet? - ANSWER-
You can use the inspect button to see the structure of webpages.
What is a relative link? - ANSWER-A link that is linked to pages within your own
website.
What is an external link? - ANSWER-A link that goes to webpages outside of your own
website.
How are comments written in HTML? - ANSWER-Comments are written by placing a !
After the first angled bracket.
Ex: <!DOCTYPE HTML>
How do you create a link to a specific part of a page? - ANSWER-the heading needs to
have an ID that can be used to link with the setup link.
Ex: <a href="#arc_shot">Arc Shot</a>
<h2 id="arc_shot">Arc Shot</h2>
How do you write a hyperlink to an external website? - ANSWER-<a
href="troyareasd.org">Troy Webpage</a>
Proper structure of an HTML element, what all does an "element" include? - ANSWER-
Elements are tags that tell the browser what to do with the information written for your
site. All elements include an opening and closing tag.
Purpose of Heading Tags (H1 - H6) - ANSWER-H1 - Main heading of a page
H2 - Sub-heading
H3-H6 - Sub-Subheadings
What are the advantages of a vector over an image using pixels? - ANSWER-You can
increase the dimensions of an image without affecting the quality of it. Vector images
are created by placing points on a grid and connecting then with lines. You can use a
color to fill in the lines and create an image.
What are the image formats most widely used on the web? - ANSWER-JGEG and GIF
What are the specific types of HTML lists? - ANSWER-Unordered list and ordered lists.
Both include list items. <li> </li>
What are the two global attributes and what does "global" mean in HTML? - ANSWER-
An ID attribute is known as a global attribute because they can be used in any element.
What can you use to explore the structure of any webpage on the Internet? - ANSWER-
You can use the inspect button to see the structure of webpages.
What is a relative link? - ANSWER-A link that is linked to pages within your own
website.
What is an external link? - ANSWER-A link that goes to webpages outside of your own
website.