Chapter 7: Introduction to HTML5
A. Fill in the blanks.
1. Hypertext
2. Web Browsers
3. Container
4. Line Break
5. text-decoration
B. State True or False.
1. False
2. True
3. False
4. False
5. True
C. Select the correct option.
1. b. WYSIWYG editor
2. b. <hr>
3. a. CSS
4. c. Declaration
5. b. <HTML>
D. Competency-based question.
Rashmi can use the CSS background property to set the image of a zoo as the background of her web page. The syntax to ad background image is: {background-image : value} where value = url (path of the image)
E. Answer the following questions.
1. HTML stands for Hypertext Markup Language. It is a markup language that allows us to create web pages that contain both text and graphics.
2. An attribute is the property that provides additional information about an HTML element. It enhances the functionality of a tag. An attribute is always specified inside the opening tag. All attributes consist of two parts: name and value. For example, <body bgcolor = ‘Yellow’> will sets the background colour to yellow for the webpage.
3. In inline method, the Style attribute is used with any element in the body section including the <body> tag itself. We can use any number of declarations; each one is separated by a semicolon. Whereas, in embedded style, the effects get applied to all the elements of the type with which the style declaration has been specified.
4. CSS stands for Cascading Style Sheet. It is a style sheet that provides a set of style rules for defining the layout of HTML documents.
5. The two text properties are:
a. font-family: This property is used to specify the font family or typeface to be used for the text.
b. font-size: This property is used to set the size of the font. You can specify the font size in pixels or percentages.
6. The use of following HTML tags are:
a. <Body>: All other tags and the content to be displayed on the web page appear under the <body> tag. Everything between <body> … </body> tags signify the body of the web page. It is a container tag.
b. <BR>: This tag is used to create a new line or a line break within a block of text. It is an empty tag, which means it does not have a closing tag.
c. <HR>: This tag is used to draw a horizontal line across the page. It is an empty tag, which requires no closing tag.
d. <Img>: This tag is used to embed an image to the web page. It is an empty tag, which means it does not have a closing tag.
e. <Title>: This tag tells the browser what to display as the title of the web page. It is a container tag. The content entered between this tag is visible on the Title bar of the browser window.
No comments:
Post a Comment