HTML is a language; full form is Hyper Text Markup Language which is used by the web pages. The browser applications are designed in such a way that they interpret HTML language.
Features of HTML
Components of HTML
HTML Tags
HTML page contains the content, design element and the programming. The HTML code basic element is the tag.
<HTML> at the top of the page and </HTML> at the bottom of the page are codes that are called as the tags.
The general format for the HTML tag;
<tag_name> affected text </tag_name>
There are two types of tags available;
An example is <br> inserts a line break.
Questions
HTML Attributes
Attributes are special codes words, used inside in the HTML tag and control exactly what the tag does. Or we can say the additional information in the tag is known as the tag’s attribute.
For example;
<font face = “Calibri” > text </font>
the
Here, the tag is a font, its attribute is a face and the attribute value is Calibri. Attributes can have different values. Always enclose all attribute values in quotes. (“_____”)
The purpose of the attribute is to add additional information in the tag.
Hyperlink
The Hyperlink is a link between two web pages when you click a hyperlink, you move either to the other section of the page or to another page.
Structure of an HTML Document
HTML documents are plain text files saved with the extension as .htm or .html. All HTML documents are divided into two main parts: the Head and the Body.
The HTML document is enclosed between <HTML> and </HTML> tag.
So, the HTML page looks like;
<html>
<head>
</head>
<body>
</body>
</html>
Two basic tools to create an HTML document.
To create an HTML Document
Types of the list that you can create in HTML
HTML broadly defines three types of lists:
Questions
Recap
Q.1 |
What is the use of <||| ||| td ||| |||> tag? |
a) | Table heading |
b) | Table records |
c) | Table row |
d) | none of the above |
Q.2 |
The text that is not to be displayed on the web screen are displayed in _________ section of HTML? |
a) | <||| ||| html ||| |||> |
b) | <||| ||| head ||| |||> |
c) | <||| ||| title ||| |||> |
d) | <||| ||| body ||| |||> |
Q.3 |
Which attribute of <||| ||| body ||| |||> tag sets color of hypertext links? |
a) | Link |
b) | Vlink |
c) | Alink |
d) | Hlink |
Q.4 |
Which attribute is used with img tag to display the text if image could not load in browser? |
a) | Description |
b) | Name |
c) | Alt |
d) | Id |
Q.5 |
Default font size of HTML is? |
a) | 2 |
b) | 4 |
c) | 6 |
d) | 3 |
Q.6 |
Which tag in HTML is used to create a check box in a form? |
a) | <||| ||| checkbox ||| |||> |
b) | <||| ||| input type="checkbox" ||| |||> |
c) | <||| ||| input=checkbox ||| |||> |
d) | <||| ||| input checkbox ||| |||> |
Q.7 |
A picture is displayed on the web screen. Which tag is used to display that picture? |
a) | Picture |
b) | Image |
c) | Img |
d) | Src |
Q.8 |
The <||| ||| head ||| |||> element is a container for- |
a) | Links |
b) | Webpages |
c) | Metadata |
d) | Pictures |
Q.9 |
Which attribute of HTML adds spaces between each cell? |
a) | CELL SPACING |
b) | CELL PADDING |
c) | WIDTH |
d) | ALIGN |
Q.10 |
<||| p |||>Which of the following is not a style tag?<||| /p |||> |
a) | <||| p |||><||| b |||><||| /p |||> |
b) | <||| p |||><||| br |||><||| /p |||> |
c) | <||| p |||><||| i |||><||| /p |||> |
d) | <||| p |||>All of these<||| /p |||> |
Your Score: 0/10