HTML & CSS

HTML / CSS Quiz with answers – Part 5

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

DNS translated ____
the domain name in IP address
IP address in domain name
Both answers are true.

Correct!

Wrong!

What tag is used to list items with bullets?
<puce>…</puce>
<list>…</list>
<ul>…</ul>
<ol>…</ol>

Correct!

Wrong!

How to define a link which should open in a new page in HTML?
<a href = “https://google.com” target = “blank”>Click here</a>
<a href = “https://google.com” target = “_blank”>Click here</a>
<a href = “https://google.com” target = “#blank”>Click here</a>
<a href = “https://google.com” target = “@blank”>Click here</a>

Correct!

Wrong!

How to define a background image of a web page?
<body background = “test.jpg”>
<body background image = “test.jpg”>
<background = “test.jpg”>
<background image = “test.jpg”>

Correct!

Wrong!

The first page of a website is called _____.
Design page
Home page
First page
Main page

Correct!

Wrong!

The Head tag is used for?
Write CSS styles
Write Javascript
Include CSS and JS files
All the answers are true

Correct!

Wrong!

By default, links are displayed with an underline. How can you remove the underline from all links using CSS?
a {text: no-underline;}
a {text-decoration:none;}
a {text-style: no-underline;}
a {text-decoration: no-underline;}

Correct!

Wrong!

What is the correct syntax for the following CSS3 code?
Body:color=black
{body;color:black}
{body:color=black(body}
Body {color: Black}

Correct!

Wrong!

Which of the following selectors selects all the elements of E having the Attr attribute ending with the given value?
E[attr^=value]
E[attr*=value]
E[attr$=value]
None of these answers is true.

Correct!

Wrong!

Which of the following selectors selects the checkboxes or option (option of a select element) that is checked or unchecked?
E ~ F
::after
checked
None of these answers is true.

Correct!

Wrong!

Share the quiz to show your results !

Subscribe to see your results

HTML / CSS Quiz – Part 5

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

%%description%%

%%description%%

Loading...

Leave a Reply

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

Back to top button