Posted in: GK

Mock Test- HTML & CSS

Featured Image

Welcome to your HTML & CSS

1. 
What HTML tag is used to create a bulleted list?

2. 
What is the difference between a block-level element and an inline element in HTML?

3. 
Which of the following is NOT a valid way to add inline styling to an HTML element?

4. 
What does the CSS box model refer to?

5. 
What is the correct way to link an external CSS stylesheet to an HTML document?

6. 
What attribute is used to specify a link's destination URL in HTML?

7. 
How can you select all elements of a specific class in CSS?

8. 
What tag is used to define the document type in an HTML document?

9. 
What property in CSS is used to change the background color of an element?

10. 
What does the following CSS code do: h1 {font-size: 2em;}?

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to Top
Unique Foundation