Font size
WorksheetsTest Front-end
Total questions: 30
Worksheet time: 23mins
Who is making the Web standards?
Mozila
The world wide web consortium
Microsoft
Choose the correct HTML element for the largest heading:
<h6>
<head>
<heading>
<h1>
What is the correct HTML element for inserting a line break?
<br>
<lb>
<break>
What is the correct HTML for adding a background color?
<body bg="yellow"></body>
<body style="background-color: yellow" />
<background>yellow</background>
Choose the correct HTML element to define important text
<b>
<i>
<strong>
<important>
Choose the correct HTML element to define emphasized text
<italic>
<i>
<em>
What is the correct HTML for creating a hyperlink?
<a name="https://www.google.com/" />Google</a>
<a url="https://www.google.com/" />Google</a>
<a href="https://www.google.com/" />Google</a>
Which character is used to indicate an end tag?
/
<
*
^
Let's write html open a link www.google.com in a new tab/browser window
Note: `code_here`
(a)
Which of these elements are all <table> elements?
<table><tr><td>
<table><tr><tt>
<table><head><tfoot>
<thead><body><tr>
Explain five new input types provided by HTML5 for forms?
(a)
Tell me two benefits of HTML5 Web Storage
(a)
What is <figure> in HTML5?
(a)
Write an HTML table tag sequence that outputs the following:
50 pcs 100 500
10 pcs 5 50
(a)
Do all HTML tags come in a pair?
(a)
Why is the external style sheet useful?
(a)
What are the uses of an embedded style sheet?
(a)
What is CSS flexbox?
Let's wrire css make UI as picture
<!DOCTYPE html>
<html>
<head>
<style>
(a)
</style>
</head>
<body>
<div class="classA>
<div>1</div>
<div>2</div>
<div>3</div>
</div>
<p> Example of <em>flex</em>box.</p>
</body>
</html>
What are the differences between relative and absolute in CSS?
(a)
How is the concept of inheritance applied in CSS?
(a)
What is the CSS Box model and what are its elements?
(a)
Explain the difference between visibility: hidden and display: none?
(a)
Where is the correct place to insert a JavaScript?
The <head> section
Both the <head> section and the <body> section are correct
The <body> section
What is the correct syntax for referring to an external script called "example.js"?
<script hreft="example.js">
<script src="example.js">
<script file="example.js">
<script url="example.js">
How to write an IF statement for executing some code if "i" is NOT equal to 5?
if i <> 5
if (i <> 5)
if (i!=5)
if i =!5 then
How does a WHILE loop start?
while (i <=10)
while (i <=10; i ++)
while i = 1 to 10
How does a FOR loop start?
for ( i=0; i <=5; i++)
for (i<=5; i ++)
for ( i=0; i<=5)
for i = 1 to 5
How do you round the number 7.25, to the nearest integer?
(a)
How do you find the number with the highest value of x and y?
(a)
How can you detect the client's browser name?
client.navName
navigator.appName
browser.name
