Write HTML Code To Get The Following Output
Write HTML Code To Get The Following Output
Write HTML Code To Get The Following Output
1)
Dynamic Websites are used over Static Websites.
A. Updates can be done very easily in Dynamic websites by easy
interactions with databases.
B. Dynamic website is faster than Static website and content gets
loaded faster.
Choose the correct justification to the statement given above:
a) Only A b) Only B
c) Both A & B d) Neither A nor B
2)
Your school has asked you to design a feedback form for your
school’s website. The following pseudocode is written:
<html>
<head><title> My page </title></Head><body>
<H1><U><A name="#Top"> FEEDBACK FORM</A></u></h1>
….Statement 1
.
.
</body>
</html>
Referring to the code given above answer the question:
In order to change the size of heading in Statement 1 which
statement will be used.
Choose as per the correct justification.
a. <h2> … </h2> for bigger size
b. <h6>..... </h6> for smaller size
c. <h6>..... </h6> for biggest size
d. <h2> … </h2> for smaller size
3)
Your school want check boxes to be included to choose between
the streams:
Science, Commerce and Arts for filling feedback form. Which of
the following code will help you get the desired output?
a. <Input type=CHECKBOX value= “Science"> <Input
type=CHECKBOX value="Commerce"> <Input type=CHECKBOX
value="Arts">
b. <Input type=CHECKBOX value="Science"> Science <Input
type=CHECKBOX value="Commerce"> Commerce <Input
type=CHECKBOX value="Arts"> Arts
c. <Input type=CHECKBOX value> Science <Input
type=CHECKBOX value> Commerce <Input type=CHECKBOX
value> Arts
d. None of the above
4)
Which code should be written to insert a comment line?
a. <!-- -->
b. <--! --!>
c. <!-- --!>
d. <!-- !>
6)
You are designing a website for City Power & Light.
You write the following markup.
1.<!DOCTYPE html>
2.<html>
3.<head>
4. <title> City Power and light </title>
5.</head>
6.<body>
7. <p>Welcome to City Power & Light </p>
8.</body>
9.</html>
What style will be used to render the code?
a) The browser default style will be used.
b) An inline style will be used.
c) An international style will be used.
d) An external style will be used.
7)
<style>...</style>
a. The tag will override rules defined in any external style sheet
file even when declared in the Inline style sheets.
b. Inline style sheets take the highest priority. So, it will override
any rule defined in the above tags or rules defined in any external
style sheet file.
c. The tag will not override rules defined in any external style
sheet file.
d. Inline style sheets have least priority.
8)
Select the answer choice that answers the question based on the
information presented in the screenshot.
Which code segment will display the form element labelled A?
a. <input type=”radio” name=”firstname”>
b. <input type=”text” name”checkbox>
c. <input type=”checkbox” name=”subscribe” value =”Yes”>
d. <input type=”text” name=”Yes”>
9)
If we want to use a nice looking green dotted border around an
image, which css property will we use?
A.border-color B.border-decoration
C.border-style D.border-line
10)
Which element is used in the <HEAD> section on an HTML/XHTML
page, if we want to use an external style sheet file to decorate the
page ?
a) <src> b) <link> c) <style> d) <css>
11)
Which CSS property is used to control the text size of an element?
a) font-style b) text-size c) font-size d) text-style
12)
HTML is what type of language ?
a. Scripting Language b) Markup Language
c) Programming Language d) Network Protocol
13)
HTML uses
a) User defined tags b) Pre-specified tags
c) Fixed tags defined by the language
d) Tags only for linking
14)
Apart from <b> tag, what other tag makes text bold ?
a) <fat> b) <strong> c) <black> d) <emp>
15)
HTML web pages can be read and rendered by _________.
a) Compiler b) Server c) Web Browser d) Interpreter
16)
Which of the following is not a browser ?
a) Microsoft Bing b) Netscape Navigator
c) Mozilla Firefox d) Opera
17)
Which HTML tag produces the biggest heading?
a) <h6> b) <h9> c) <h4> d) <h1>
18)
Tags and texts that are not directly displayed on the page are
written in _____ section.
a) <head> b) <title> c) <body> d) <html>
19)
A page designed in HTML is called _____
a) Application b) Cover page c) Front-end d) Web Page
20)
An HTML document is saved with the ____ extension.
a) .htl b) .html c) .hml d) .htnl