1. What does HTML stand for?
- How to Make Lumpia
- HyperText Markup Language
- How to Make Loop
HyperText Markup Language
HTML is the standard language used to create and structure web pages.
2. What does "<a>" stand for?
- HTML <a> href Attribute
- HTML <a> align Attribute
- HTML <a> alink Attribute
HTML <a> href Attribute
The <a> tag with href creates clickable hyperlinks.
3. Who first invented HTML?
- Tim Berners-Lee
- Mark Zuckerberg
- Bill Gates
Tim Berners-Lee
He invented HTML in 1989 while working at CERN to share documents.
4. Which is the correct HTML image tag?
- <img src="w3schools.jpg" alt="W3Schools.com" width="104" height="142">
- img src="..." (no <img>)
- >img ... < (backwards)
<img src="..." alt="..." width="..." height="...">
The <img> tag needs src and alt for accessibility.
5. Correct HTML element for a line break?
- <break>
- <br>
- <lb>
<br>
<br> forces a new line without creating a new paragraph.
6. Which tag defines an internal style sheet?
- <style>
- <css>
- <script>
<style>
CSS inside <style> in the <head> applies to the whole page.
7. How do you make text bold in HTML?
- <strong> or <b>
- <bold>
- <em>
<strong> or <b>
<strong> is semantic (important), <b> is visual only.
8. CSS property to change background color?
- color
- background-color
- bgcolor
background-color
Use background-color: red; to fill an element’s background.
9. Correct CSS to make paragraph text red?
- p {text-color: red;}
- p {color: red;}
- p {font-color: red;}
p {color: red;}
The color property changes text color in CSS.
10. Which CSS property changes the font?
- font-style
- font-family
- font-weight
font-family
font-family: Arial, sans-serif; sets the typeface.
11. Largest heading in HTML?
- <heading>
- <h1>
- <head>
<h1>
<h1> is the most important heading; <h6> is smallest.
12. Correct element for a paragraph?
- <pg>
- <p>
- <para>
<p>
<p> defines a block of text as a paragraph.
13. Tag to define a hyperlink?
- <a>
- <link>
- <hyper>
<a>
<a href="..."> creates clickable links.
14. Attribute for image alternate text?
- title
- alt
- src
alt
alt text shows if image fails and helps screen readers.
15. CSS property to control text size?
- font-size
- text-style
- font-weight
font-size
Use font-size: 16px; to set text size.
16. CSS property for inner spacing?
- margin
- padding
- spacing
padding
padding adds space inside the border, margin outside.
17. What does CSS stand for?
- Creative Style Sheets
- Cascading Style Sheets
- Computer Style Sheets
Cascading Style Sheets
CSS controls the look and layout of HTML elements.
18. CSS property to align text?
- text-align
- alignment
- font-align
text-align
Use text-align: center; to center text horizontally.
19. How to make a bullet list in HTML?
- <ul>
- <ol>
- <list>
<ul>
<ul> = unordered (bullets), <ol> = ordered (numbers).
20. CSS property for line spacing?
- line-spacing
- line-height
- letter-spacing
line-height
line-height: 1.6; controls space between lines of text.