IT LESSON 5 HTML
Fill in the blanks
- 1.V i s u a l Studio Code is an example of a text editor.
- 2.S u b l i m e is an example for a text editor.
- 3.HTML tags are surrounded by a n g l e brackets.
- 4.<h1 align = “c e n t e r”>Hello cyber square < / h 1 > aligns the text “Hello cyber square” to center.
- 5.< u >Hello Cyber Kid < / u > is used to underline the text Hello Cyber Kid
State true or false
- 1.<b> tag is used to make the text bold.-True
- 2. H1 is a tag for creating a paragraph.-False
- 3. Title tag shows the title of the website on the tab of the browser.-True
- 4. Block-level elements always start on a new line.-True
- 5. <span> is an example of a block-level element.-False
Match the following
| e. Title of the webpage. |
| a. Heading tag. Changes the text size to a header size. |
| b. Paragraph |
| c. Makes the text in Italic |
| d. For inserting an image onto the webpage. |
Multiple Choice Questions
- 1.HTML stands for
- Hyper Text Markup Language.
- Hyper Text Makeup Language.
- Hyper Text Markup Lab.
- None of the above.
- 2.align="left” aligns the text to:
- left.
- right.
- center
- None of the above.
- 3.<img> tag is used for:
- Inserting a video.
- Inserting an image.
- Inserting a heading.
- None of the above.
- 4.One of the following is not a text editor.
- Sublime.
- Brackets.
- Notepad.
- VLCPlayer.
- 5.The following is not an in-line element.
- <span>
- <a>
- <img>
- <p>
Answer in one word or one sentence
- 1.What does HTML stand for?
Hyper Text Markup Language.
- 2.Which tag is used to insert an image into an HTML page?
<img>
- 3.Which tag is used to change the alignment of the text?
<center> tag change the alignment of text to center.
- 4.Which attribute is used to set the background color of the body of the HTML?
bgcolor.
- In HTML, tag names are always surrounded by:
angle brackets.
Answer the following
- 1.Explain HTML Tags.
HTML uses tags in order to describe the content on a webpage. HTML tags are keywords surrounded by angle brackets.
< tagname > content goes here... < /tagname >.
- 2.Write down the structure of an HTML tag and label it.
- 3.Explain the need to learn HTML?
- HTML is the language of The World Wide Web.
- To make your own websites.
- Great beginning to the programming world.
- 4.What is the use of text formatting tags? Name any two text formatting tags and write down their use.
Text formatting helps us improve the visual appeal of the text in
any document.
<b> - Make the text bold.
<i> - Italicize the text.
- 5.Explain block and inline elements.
A block-level element always starts on a new line and takes up the full width available Examples: <div>, <h1> - <h6>.
An inline element does not start on a new line and only takes up as much width as necessary.Examples:<a>, <img>.