NEW
Font size
WorksheetsHTML Basics
Total questions: 25
Worksheet time: 8mins
Full Form of HTML :
Hyper Text Makeup Language
Hyper Text Markup Language
Hyper Text Machine Language
High Text Machine Language
The correct sequence of HTML tags for starting a webpage is :
HTML, Head, Title, Body
Head, Title, Body, HTML
HTML,Head, Body, Title
Body, Title, Head, HTML
How many sizes of headers are available in HTML by default ?
5
1
3
6
What is meant by an empty tag in HTML ?
An empty tag cannot have any content within it
There is no such concept of an empty tag in HTML
An empty tag does not require a closing tag
None of the above
Which HTML element is used to define description data ?
<li>
<ol>
<dd>
<dl>
What is the correct syntax to write an HTML comment ?
<!-- Comment -->
// Comment
#Comment
/* Comment */
Which HTML tag is called the root element of an HTML document ?
<html>
<body>
<title>
<head>
What are the main components of the front end of any working website ?
HTML, CSS, Javascript
HTML Only
Javascript only
HTML and CSS
What is the smallest header in HTML by default ?
h3
h7
h5
h6
Which of the fallowing tags does not require a closing tag ?
<br>
<hr>
Both <br> and <hr>
None of the above
What is the correct syntax of doctype in HTML5 ?
</doctype html>
<doctype html>
<doctype html!>
<!doctype html>
Which HTML element is used for styling HTML5 Layout ?
JQuery
CSS
JavaScript
PHP
Which HTML tag is used to insert an image ?
<img url="htmllogo.jpg"/>
<img alt="htmllogo.jpg"/>
<img src="htmlogo.jpg"/>
<img src=htmllogo/>
Which of the fallowing extension is used to save an HTML file ?
.hl
.h
.hml
.html
In HTML, the tags are __________
In upper-case
not case sensitive
in lowercase
case-sensitive
Which HTML tag is used for displaying the power in the expression (x^2-y^2) ?
<p>
<sub>
<sup>
None of these
Default size of <h1> tag is
32 px
24 px
34 px
28 px
Which of the fallowing is not a semantic element ?
<form>
<article>
<table>
<span>
Which element works as a sidebar?
header
footer
nav
aside
Which of the fallowing specifies the main content of the document?
<time>
<main>
<details>
<section>
Which of the fallowing specifies relationship between current document and external resource ?
<meta>
<style>
<link>
<title>
Which element defines additional details ?
<details>
<summary>
<main>
<aside>
Which is used to create Web Pages ?
C++
Java
HTML
Both Java and HTML
What is the correct HTML element for inserting a line break ?
<br>
<break>
<b>
<lb>
Which character is used to indicate an end tag ?
>
*
<
/
