0% found this document useful (0 votes)
6 views3 pages

Web Dev. Questions (VIII)

The document contains a series of web development questions and answers aimed at Class VIII students. It covers fundamental concepts such as the differences between webpages and websites, HTML structure, various HTML tags, and their uses. Additionally, it explains how to create hyperlinks, lists, forms, and other essential elements in HTML.

Uploaded by

yamshgerms
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views3 pages

Web Dev. Questions (VIII)

The document contains a series of web development questions and answers aimed at Class VIII students. It covers fundamental concepts such as the differences between webpages and websites, HTML structure, various HTML tags, and their uses. Additionally, it explains how to create hyperlinks, lists, forms, and other essential elements in HTML.

Uploaded by

yamshgerms
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Class : VIII WEB DEVELOPMENT QUESTIONS

1) Differentiate between Webpages and Websites.


Ans – A webpage is a collection of information such as text, image, audio, etc., whereas
a website is a collection of webpages related to a same topic.
2) Differentiate between Hypertext and Hyperlink.
Ans – Hypertext refers to the text which is displayed on a webpage and cannot be
clicked, whereas Hyperlink refers to that text which can be clicked and can be used to
redirect to another webpage.
3) Differentiate between WWW and Internet.
Ans – WWW is a collection of information in the form of webpages, whereas Internet is
a network of networks.
4) Who created HTML? And when?
Ans – Tim Berners Lee in 1991
5) What is the basic structure of an HTML document?
Ans - <html>
<head> <title> ..... </title> </head>
<body>
...
</body>
</html>
6) What are the two types of HTML tags? Give examples of each.
Ans – Container Tags – These tags contain both opening and closing of tags. For ex -
<body>, <html>, <head>, etc.
Empty tags – These tags contain only opening of tags. For ex-<img>, <br>, etc.
7) How do you create a hyperlink (link to another page) in HTML?
Ans - <a href = “html page/website name”> text to be hyperlinked </a>
8) What attributes are used with the <img> tag?
Ans – src, alt, height, width, etc.
9) What are headings in HTML? How many levels of headings are there?
Ans – Heading tags are used to define headings in a webpage. There are 6 levels of
heading from <h1> (largest) to <h6> (smallest).
10) Explain the difference between ordered and unordered lists.
Ans – Ordered lists refers to those lists which have a specific order for each list item,
whereas in unordered lists, there is no specific order for list items.
There are five types of ordered lists – 1 / a / A / i / I
There are three types of unordered lists – circle / disc / square
11) What are the different types of lists in HTML?
Ans – There are three different types of lists – Ordered List, Unordered List and
Definition List.
12) What is the use of the <title> tag? Where is it displayed?
Ans – <title> tag is used to display the title for the webpage. It is displayed in the title
bar of the web browser window.
13) What is the <form> tag used for?
Ans - <form> tag is used to create forms for various purpose such as registration, login,
etc. using different tags, attributes and buttons.
14) What are some common input types used within forms?
Ans – text, password, email, button, radio, checkbox, submit, reset
15) How do you create a drop-down list in HTML? OR What do you mean by combo-box?
Ans – Combo-box is a collection of <select> tag and <option> tag. It is used to create a
drop down list in HTML.
<select>
<option> Option 1
<option> Option 2
<option> Option 3
<option> Option 4
</select>
16) What is the <!DOCTYPE html> declaration for?
Ans - The <!DOCTYPE html> declaration is a required instruction placed at the very
beginning of an HTML document, before any other HTML tags. Its purpose is to
inform the web browser about the document type and version of HTML being used.
17) Write the correct way to start an ordered list of type A that has numeric value count of 5?
Ans - <ol type = “1” start = “5”>
18) Write the HTML code snippet to display x2 – y2 and C6H12O6.
Ans - x <sup> 2 </sup> - y <sup> 2 </sup>
C <sub> 6 </sub> H <sub> 12 </sub> O <sub> 6 </sub>
19) What is the extension used to save HTML files?
Ans - .html or .htm
20) Write the full forms of:
a) HR - Horizontal Rule
b) BR - Line Break
c) HREF - Hyper Reference
d) HTML - Hypertext Markup Language
21) What is a text editor? Give example.
Ans – A text editor is a software that is used to write the HTML codes. For ex -
Notepad
22) Which software is used to run or execute the HTML code to display the output?
Ans – Web Browsers such as Firefox, Chrome, Safari, etc.
23) Which attribute of body tag specifies the color of a link when it is clicked?
Ans – vlink attribute
24) What is the default color of link, alink and vlink attributes?
Ans – link = blue alink = red vlink = purple
25) Differentiate between internal linking and external linking.
Ans – When one part of a web page is linked to another section of the same page, it is
called internal linking.
When one webpage is linked to another webpage, it is called external linking.
26) Name the tags used to write Definition Lists in HTML.
Ans - <dl> tag, <dt> tag and <dd> tag
27) What is the use of maxlength attribute in <input> tag?
Ans – maxlength attribute of <input> tag is used to limit the number of characters to be
inputted in the textbox.
28) Which tag-attribute is used to create a check box for a form in HTML?
Ans – <input type =“checkbox”>
29) How to make the text hidden while entering into the input textbox?
Ans - <input type=password>
30) Name the tag used to:
a) Create ordered or numbered list <ol>
b) Create unordered or bulleted list <ul>
c) Create a multiple lines input in HTML Form <textarea>
d) Perform linking in webpages <a>
e) Create a drop-down list or combo box <select>
f) Define options in drop-down list <option>
g) to make a text bold <b>
h) to insert a line-break <br>
i) create a paragraph <p>
j) to display an image <img>

You might also like