What does HTML stand for?
HyperText Markup Language
What attribute tells the browser where an image file is?
src
What does the style attribute control?
How the element looks (its visual style).
Which tag makes bold text?
<b>
What is the name of the program we installed to write HTML code?
Visual Studio Code
Which tag is used for the largest heading?
<h1>
What attribute tells a link where to go (the website address)?
href
Which style property changes the background color?
background-color
Which tag makes italic text?
<i>
True or False: HTML comments are visible on the webpage.
False
Which tag is used for a paragraph?
<p>
Write a simple link to Google: the text should say “Google”.
<a href="https://www.google.com">Google</a>
Which style property changes the text size?
font-size
Write a sentence where the word “important” is strong using HTML.
<p>This is <strong>important</strong>.</p>
Fix the mistake:
<p>This is <b>bold<p></b>
<p>This is <b>bold</b></p>
Which tag makes a line break (go to a new line)?
<br>
Which attribute is used to show alternative text if the image doesn’t load?
alt
Write a heading <h1> that shows blue text using style.
<h1 style="color: blue;">My Title</h1>
Which tag is used to show superscript, like the 2 in 10²?
<sup>
How do you write a comment in HTML that says:
“This is my quote section”?
<!-- This is my quote section -->
Write a simple line of HTML that shows the text:Welcome to my website as a heading.
<h1>Welcome to my website</h1>
Write code for an image that:
uses src="cat.jpg"
has width 200
alt text: “Cute cat”
<img src="cat.jpg" width="200" alt="Cute cat">
Make this text centered and big:
“Hello Students!” (as a paragraph).
<p style="text-align: center; font-size: 24px;">
Hello Students!
</p>
Write HTML for:
“Water is H₂O” where 2 is subscript.
<p>Water is H<sub>2</sub>O</p>
Which tag is used for a short, inline quote?
<q>