HTML 1
HTML 1
A. A single page of a website is called web page. Its used for spread
information & services to the users.
A. Front page of a website is called Home Page. Home Page shows the
main attraction to the users.
A. HTML was developed by Sir Tim Berners Lee in late 1991 but was not
released, than published in 1995 as HTML 2.0. HTML 4.01 was published
in 1999 and was a main version of HTML.
html tutorial
Container Tag.
A. Those tag who has only opening/start tag with self not contained
close/end tag.
Q.9. How will you start a code or program of HTML? Which tag is
used for that?
A. <html> tag is used to start a html program file and end with </html>
tag.
A. Title tag is used to give a title name of a Web Page that shows on the
title bar.
1. Head Part
2. Body Part
A. <html>
<body bgcolor=”blue”>
</body>
</html>
Q. 16. What is img tag in htm? Write the code to insert an image
in a html document.
A. <img> tag is used to insert an image in html document. You can use
src attribute to use a particular image in your html document.
Ex. <IMG SRC=”address of image” >
You just paste the desired address of image that is available in your
system.
Q. 18. How will you link any website in your html document?
A. <a> Anchor tag is used to create a link, we can link any website using
below given html code.
<a href=www.google.com> Google </a>
Q. 20. Give some examples of empty tags with use of empty tags.
Q. 21. How can we create a list? How many types of list in HTML?
Define list tags with code.
A. Heading tag <head> is used for give heading of any topic or paragraph
in HTML. There are six heading tags in HTML.
1. <H1>
2. <H2>
3. <H3>
4. <H4>
5. <H5>
6. <H6>
Example of head tag :
A. <sub> tag is used to make a subscript and <sup> tag is used to make
a superscript value in HTML page.
A. H<sub>2</sub>O
Results => H2O (science)
A<sup>2</sub>
A Square (math)
<text> — a simple text box that allows input of a single line of text.