Html and css

An engaging graphic depicting an HTML and CSS quiz with elements like code snippets, question marks, and a web browser interface, using bright colors and a modern design.

HTML and CSS Mastery Quiz

Test your knowledge of HTML and CSS with this engaging quiz designed for web enthusiasts and learners. Whether you're a beginner or someone looking to refresh your skills, this quiz covers essential topics that are key to mastering web development.

Key Features:

  • Multiple-choice questions
  • Instant feedback on your answers
  • Perfect for improving your web skills
15 Questions4 MinutesCreated by CodingCat42
How to insert an image in HTML?
<img href = "jtp.png" />
<img url = "jtp.png" />
<img link = "jtp.png" />
<img src = "jtp.png" />
 
What does the <br> HTML acronym represent?
Bold and red
Background and repeat
Blockquote
Break
The HTML attribute used to define the inline styles is -
Style
Styles
Class
None of the above
What is Protocol?
A simple visualization of the product to test the concept
A set of rules or instructions that governs a communication
It is a smallest element of a program ,which are meaningful to the compiler
None of the above
The property in CSS used to change the background color of an element is -
Bgcolor
Color
Background-color
All of the above
An HTML program is saved by using the ____ extension.
.ht
.html
.hml
None of the above
How can you select all even numbered elements in CSS?
:odd
:not(even)
:even
:nth-child(even)
A program in HTML can be rendered and read by -
Web browser
Server
Interpreter
None of the above
How to insert a background image in HTML?
<body background = "img.png">
<img background = "img.png">
<bg-image = "img.png">
None of the above
What is inline CSS?
It affects the size of the text of an element
It places the CSS inside an HTML tag and affects only that element
It is used to define the minimal height of line boxes within the element
None of the above
<input> is -
An empty tag
A format tag
Both (1) & (2)
None of the above
The <hr> tag in HTML is used for -
New line
Vertical ruler
New paragraph
Horizontal ruler
Which of the following attribute is used to provide a unique name to an element?
Class
Id
Type
None of the above
In HTML5, which of the following tag is used to initialize the document type?
<Doctype HTML>
<\Doctype html>
<Doctype>
<!DOCTYPE html>
Which of the following is the correct way to send mail in HTML?
<a href = "mailto: xy@y">
<a href = "xy@y">
<mail xy@y</mail>
None of the above
{"name":"Html and css", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of HTML and CSS with this engaging quiz designed for web enthusiasts and learners. Whether you're a beginner or someone looking to refresh your skills, this quiz covers essential topics that are key to mastering web development.Key Features:Multiple-choice questionsInstant feedback on your answersPerfect for improving your web skills","img":"https:/images/course5.png"}
Powered by: Quiz Maker