Chapter # 9 Introduction To HTML 5
Chapter # 9 Introduction To HTML 5
Chapter # 9 Introduction To HTML 5
CONTENTS
Multiple choice questions
Fill in the blanks
True/false
Tricky Terms
Short Question/Answer
Long Question/Answer
TRICKY TERMS
i. Homepage
The first page of a website that usually tells visitors what the site is about.
ii. HTML elements
Building blocks of HTML documents. An HTML element consists of opening
and closing tags, and the content between them.
iii. HTML Tags
Identifiers of HTML elements that always begins with a less than sign < and
with a greater than sign >.
iv. HTML Attribute
Extra bit of information that appears inside the opening tag of an element.
v. Head
Part of the HTML document containing information about the webpage.
vi. Body
Part of the HTML document containing everything displayed on the web
page.
vii. Cascading Style Sheet (CSS)
A set of style rules for displaying HTML elements in a webpage.
SHORT QUESTION/ANSWERS
Q1. What is HTML?
Ans. Hypertext markup language (HTML) is a computer language used to create
webpages for displaying on the World Wide Web.
Q2. Differentiate between container elements and empty elements?
Ans. Container Elements
HTML elements that include both on and off tags are called container elements.
Empty elements
HTML elements that only have an ON and do not require an OFF tag are called
empty elements.
LONG QUESTION/ANSWERS
Q1. Explain HTML attribute with example?
Ans. HTML Attributes
Attributes gives us extra information about elements. They are
always specified inside the start tag and have a name-value pair.
Example
The “lang” attribute of the HTML tag specifies the language of the webpage, while
the title attribute specifies the title of the paragraph and the “src” attribute of
<img> tag is used to specify the URL of the image.
Q2. Write an HTML code which displays your first name, your age, the first
name of your siblings, and your school’s name.