HTML / CSS Quiz with answers – Part 4

Practical questions to test your knowledge of HTML and CSS – Part 4

Which of the following HTML tags insert a line break?
<line>
<break>
<br>
<p>

Correct!

Wrong!

Which of the following tags are linked to an HTML table?
<table> <row> <column>
<table> <tr> <td>
<table> <head> <body>
<table> <header> <footer>

Correct!

Wrong!

What is the <tt> tag for HTML used for?
The <tt> tag is one of the text formatting tags.
The <tt> tag is part of the image formatting tags.
The <tt> tag is part of the table formatting tags.
None of the above

Correct!

Wrong!

What are HTML forms for?
To display the content of an email.
To display the animation effect.
To collect user input.
None of the above

Correct!

Wrong!

What is iframe for HTML used for?
To display a web page in a web page.
To display a web page with an animation effect.
To display a web page without a browser.
All answers are true

Correct!

Wrong!

How to write a comment in CSS?
/* comments */
// comments //
/ comments /
' comments

Correct!

Wrong!

Which css property will you use if you want to add a margin between the border of a DIV and its inner text?
spacing
margin
padding
inner-margin

Correct!

Wrong!

Which CSS property is used to control the text size of an element?
font-style
text-size
font-size
text-style

Correct!

Wrong!

The default value for the "position" attribute is _______.
fixed
absolute
inherit
relative

Correct!

Wrong!

How to make all paragraphs in "RED"?
p.all {color: red;}
p.all {color: #AA0000;}
all.p {color: #0000FF;}
p {color: red;}

Correct!

Wrong!

Share the quiz to show your results !

Subscribe to see your results

HTML / CSS Quiz – Part 4

I got %%score%% of %%total%% right

%%description%%

%%description%%

Loading...

Leave a Reply

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