How does using semantic HTML like <header>, <footer>, <nav>, etc., benefit website development?
All of the above.
It improves a webpage's SEO by providing context to search engines.
It makes the code easier for developers to read and understand.
It enhances accessibility for users with disabilities.
Which HTML tag is used to create a form?
How can you use comments to debug HTML code?
You can temporarily comment out sections of code to isolate issues.
Comments can be used to display error messages in the browser.
Comments directly interact with browser developer tools for debugging.
Comments can execute JavaScript code for debugging purposes.
Which of the following is NOT a valid way to specify colors in HTML?
CMYK values (e.g., "(0, 100, 100, 0")
Hexadecimal codes (e.g., "#FF0000")
Color names (e.g., "red")
RGB values (e.g., "rgb(255, 0, 0)")
How can you create a clickable image that acts as a hyperlink in HTML?
Use the 'link' attribute in the <img> tag.
Place the <img> tag inside an <a> tag.
Place the <a> tag inside the <img> tag.
Use the 'href' attribute in the <img> tag.
Which HTML entity would you use to display a non-breaking space?
Â
 
 
 
What attribute is used to specify the URL of the linked resource in an anchor tag?
src
link
href
url
Is it a good practice to use comments for minifying HTML code?
No, comments are typically removed during minification.
Comments have no impact on the minification process.
Yes, comments are essential for minification.
Minification tools automatically use comments to optimize code.
How can you improve keyboard navigation for users who cannot use a mouse?
Using images for all text on the page
Disabling all JavaScript functionality on the website
Ensuring all interactive elements are reachable by using the 'Tab' key
Using Flash animations for all interactive elements
What does the <td> tag represent in an HTML table?
<td>
Table data cell
Table header
Table caption
Table row