Chapter 3: Introduction to HTML5
Checkpoint (Pg. 41)
Give one-word answers for the following.
1. HTML
2. Home
3. Text editor
4. Container
5. <h1> to <h6>
Exercises (Pgs. 46-48)
A. Tick (✓) the correct answers.
1. a
2. b
3. a
4. c
5. a
B. Fill in the blanks.
1. web pages
2. HyperText Markup Language
3. empty
4. <br>
5. container
C. Write T for True and F for False.
1. F
2. T
3. F
4. F
5. T
A. Answer the following questions in short
Q.1 What is website ?
Ans:- A website is collection of related web pages that are connected to each other through links and published by a person or organisation.
Q.2 Write name of WYSIWYG's first editor ?
Ans:- The first WYSIWYG editor was called 'StarWriter' created in 1980s.
Q.3 Write tools for creating an HTML document .
Ans:- To create an HTML document we need a text editor like Notepad or Wordpad and a web browser like Google Chrome or Opera Mini.
Q.4 What is the extension of HTML document ?
Ans:- ".html" is the extension of html document .
B. Answer the following questions in long.
Q.1 What is HTML 5 ? Write features about HTML 5.
Ans:- The acronym HTML stands for Hypertext Markup Language. It is used for creating web pages. It was developed in 1991 by Tim Berners-Lee.
features of html5 :-
1. Enhanced Multimedia Support
2. Improved Graphics
3. Simplified Forms
4. Offline Access
5. Geo location
Q.2 Differentiate between empty tags and container tags in HTML .
Ans:- HTML tags can be classified into two main categories: empty tags and container tags.
Empty tags: These tags do not need to be closed. Hence, they do not require a closing tag. An example of an empty tag is the <br> tag, which is used to create a line break.
Container tags: The tags that have both opening and closing tags are known as container tags. These tags must be closed to function properly. For example, the <b> tag is used to make text bold. This tag will not work if it is not closed. Another example is the <div> tag, which is used to group content together. It also requires a closing tag to function correctly.
Q.3 Write code to create a simple web page with a title and heading .
<!DOCTYPE html>
<html>
<head>
<title>First Page </title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Q.4 Write tag for bold ,Italic , centre , image and heading .
Ans:- Some important tags for our website :-
<B > = To bold our text
<I> = To italic our text
<Center> = To center alignment our text and object .
<h1>= To make a heading
<Img> = to add a image in our website .
No comments:
Write CommentsPlease ask any question about gk related