Category 1
Category 2
Category 3
Category 4
Category 5
100

What is the full form of HTML?

Hypertext Markup Language

100

What is the use of HTML?

HTML is used to create webpages

100

List the types of heading tags.

<h1>...</h1>

<h2>...</h2>

<h3>...</h3>

<h4>...</h4>

<h5>...</h5>

<h6>...</h6>

100

Where is <link> tag written in the HTML file?

inside the <head> tag

i.e., <head>

<link rel="stylesheet" href="style.css">

</head>

100

Write down the syntax of an HTML element?

<tag name> content </tag name>

200

What is the full form of CSS?

Cascading Style Sheets

200

What is the use of CSS?

CSS helps in styling the webpage

200

Name the 4 empty tags

<hr>

<br>

<img>

<link>

200

Which are the two ways of giving a color to any tag?

1. By specifying the name

2. Using RGB tool

200

What is a rule set in CSS?

A set of rules to specify a style for the selected element.

300

Which out of the following tags help in creating lists?

1. <li>...</li>

2. <list>...</list>

3. <ol>...</ol>

3. <ol>...</ol>

300

Which are the two categories of tags in HTML? Explain in brief.

Empty tags - which requires no closing tag

Container tags - which has both opening and closing tags

300

Give an example of a rule set in CSS.

h1{

color:red;

font-size: 24px;}

Any other example of rule set.

300

If anything should get displayed as a content of a webpage, where should it be placed in the HTML file?

inside the <body> tag

i.e.,

<body>

.....

</body>

300

What are the extensions of HTML and CSS files.

.html

.css

400

Give an example of an element in HTML

<p> Hello </p>

<h1> Hello </h1>

400

Write the tag to link an HTML file with the CSS file.

<link rel="stylesheet" href="style.css">

400

Mention any 4 property-value pairs that can be applied to img ruleset.

float:right;

border-style: solid;

height:200px;

width:300px;

border-width:4px;

Any other would also work

400

Identify the error in the following code (rule set):

body

{

background-colour:red

1. semicolon is missing at the end of value red

2. curly brace missing at the end of rule set

400

Write down the syntax of writing a rule set.

selector{

     property:value;

}

500

Write down the basic structure of HTML web pages.

<!DOCTYPE html>

<html>

<head>

</head>

<body>

</body>

</html>

500

Look at the code given below and guess the output

<html>

<body>

<ul>

<li>Dance</li>

<li>Sing</li>

<li>Read</li>

</ul>

</body>

</html>

- Dance

- Sing

- Read

500

What is the syntax to write the code for special characters in HTML?

Write down the HTML code for the following special characters:

1. >

2. <

3. &

4. "

Syntax: &code;


> - >

< - <

& - &

" - "

500

Write the code to display the word "Hello" in all the different heading sizes in ascending order.

<h6>Hello</h6>

<h5>Hello</h5>

<h4>Hello</h4>

<h3>Hello</h3>

<h2>Hello</h2>

<h1>Hello</h1>

500

Which out of the following properties help in changing the size of the text?

text-size

font-size

fontsize

font-size