Q1. What is HTML?
Ans- HTML stands for Hyper Text
Markup Language it is used to develop webpage of the website. This is non case
sensitive language. Webpage are develop with the help of html tags.
Q2. What are the types of
webpage?
Ans- Classification of webpage are
as follows –
1. Static
Webpage
2. Dynamic
Webpage
a. Server
Executable
b. Client
Executable
Q3. What is the structure of HTML webpage?
Ans. Structure of HTML
webpage-
1. DOCTYPE declaration
– It tells the browser to the version of HTML document.(i.e. HTML 5)
2. Meta data
declaration –
3. HTML tags
a. <HEAD>
tag container
b. <BODY>
tag container
Q4. What are the types of HTML tags>
Ans.- Types of HTML tags are –
1. Container Tags-
This type of tags require a starting and a ending tag (a pair of tag).
This type of tags require a starting and a ending tag (a pair of tag).
Example
-
<html> ….
</html>
<body> …. </body>
2. Empty Tags-
This type of html tag requires only starting tag.
Example –
<br> line break
<img> image tag
<hr> horizontal tag
Q5. What are the steps to create a html web page?
Ans – Steps to create html webpage-
1. Start > All Program > Accessories >
Notepad
2. Type HTML code of a webpage
3. File > Save As…
4. A dialog box will appear.
5. Select Desktop folder
6. Type file name mywebpage.html
7. Select file type All Files
8. Click SAVE button.
Q6. Which HTML code which display text on title bar
of browser?
A. <title> tag display text on title bar of
the browser.
Example –
<html>
<head><title>
Class 10</title></head>
<body>
</body>
</html>
Q7. What is home page in website?
A. First page of any website is home page.
Q8. Write html code which display three paragraph?
A.
<html>
<head> <title> My
Paragraphs</title> </head>
<body>
<p> This is my first paragraph</p>
<p> This is my second paragraph</p>
<p> This is my third paragraph</p>
</body>
</html>
Q9. What is the purpose of using <H1>, <H2>,<H3>,<H4>,<H5>
& <H6> tag?
Ans In html, <H1>,
<H2>,<H3>,<H4>,<H5> & <H6> are tags for
headings. <H1> is largest heading and <h6> is the smallest heading.
Q10. What is the method of viewing source html code
of any website in browser?
Ans – Press CTRL+U to view the source html code of any
website in browser.
Q11.What is the use of body tag in html?
Ans. The second and largest part of html document is
the body tag which contains the content of document which display on the webbrowser. The body tag
contains content of the webpage. The content which contains by the body tag are
Image, text, paragraph, list, table, hyperlink,
video, audio, flash animation etc.
Q12. Write html code for the following
list –
1-CPU
2-Hard Disk Drive
3-Mouse
4-Keyboard
5-Monitor
Ans –
<html>
<head> <title> Display List</title>
</head>
<body>
<OL>
<LI> CPU</LI>
<LI> Hard Disk Drive</LI>
<LI> Mouse</LI>
<LI> Keyboard</LI>
<LI> Monitor</LI>
</OL>
</body>
</html>
Q.13 Write html code for the following table.
| S.No. | Name | Age |
| 1 | Jay | 18 |
| 2 | Ajay | 19 |
Ans.
<html>
<head> <title> My Table</title>
</head>
<body>
<table>
<tr><td>S.No.</td><td>Name</td><td>Age</td></tr>
<tr><td>1</td><td>Jay</td><td>18</td></tr>
<tr><td>2</td><td>Ajay</td><td>19</td></tr>
</table>
</body>
</html>
Q.14 Write html tags which is used to bold, italic
and underline the text.
Ans.
<b>….</b> tag is used to bold the text.
<i> … </i> tag is used to italic the
text.
<u> … </u> is used to underline the
text.
Q15. Write html code which display hyperlinks for
three search engines.
Ans
<html>
<head> <title> Search Engines </title>
</head>
<body>
<a href=http://www.google.com>Google</a>
<a href=http://www.bing.com>Bing</a>
<a href=http://www.yahoo.com>Yahoo</a>
</body>
</html>
Short Question Answer –
1. First page of any webpage is
– Home Page
2. Hyperlink means – link between
two webpage or document
3. <hr> is used for – to draw a horizontal line
4. First tag of html document
is – html tag
5. Type of list are – Two – OL and
UL
6. <LI> tag contains - List item
7. Empty tag have – only starting
tag.
8. HTML is a non case sensitive
language.
9. The tag which identity that the
document is a html document – html tag
10.<a> tag means – Anchor tag
which links two webpage.