Ch09: Introducation to HTML ⇨ Q&A
✔️ Tick the Correct Answer
✏️ Fill in the Blanks using the given words-
- An HTML element can contain various attributes which specify their properties.
- The F5 key is pressed to refresh a web page.
- The Body element contains the main content of the web page.
- Markup is the program code that entitles the parts of the HTML document which are arranged on the web page.
- The heading elements are used to define heading of a paragraph in a web page.
- To change the default colour of the text the bgcolor attribute of the BODY element is used.
✅ Write 'T' for True and 'F' for False Statements
- HTML was invented in 1995. ➤ F
- You can create links between different parts of the same document. ➤ T
- The path of the image need not be correct in the BACKGROUND attribute. ➤ F
- The default text colour in an HTML document is black. ➤ T
- An HTML tag is used to structure the HTML document. ➤ T
📘 Answer the Following Questions
-
🖊️ Write down some features of HTML. What is the structure of an HTML document?
Ans. ➭ HTML is easy to learn and use, platform-independent, allows for structured documents using markup. Basic structure:<!DOCTYPE html>,<html>,<head>,<title>, and<body>tags. -
💻 How can you view an HTML document in Google Chrome?
Ans. ➭ You can view an HTML document in Google Chrome by double-clicking the file or right-clicking it and selecting "Open with" > "Google Chrome." -
🔤 What is the use of the <SUB>, <SUP>, and <STRIKE> elements in HTML?
Ans. ➭ <SUB> displays subscript text, <SUP> displays superscript text, and <STRIKE> shows text with a strikethrough. -
🔍 Differentiate between the HTML tags and elements.
Ans. ➭ A tag is the code within angle brackets (e.g., <b>). An element consists of the start tag, content, and end tag (e.g., <b>Text</b>). -
📝 What is the advantage of a WYSIWYG editor in creating an HTML document?
Ans. ➭ A WYSIWYG editor allows visual designing of web pages, showing the real-time result without writing HTML code manually. -
✒️ Name the various formatting elements available in HTML.
Ans. ➭ Common formatting elements are: <b>, <i>, <u>, <sup>, <sub>, <strike>, <strong>, <em>, <mark>, <code>.
📘 Define the Following Terms
- 🗂️ Markup: Markup is the program code that entitles the parts of the HTML document which are arranged on the web page.
- 📦 Container element: A container element stores content between opening and closing tags, such as
<html>and</html>. - 📏 Horizontal rule element: The horizontal rule element is represented by the
<hr>tag, which is used to insert a horizontal line across a web page. - ⚙️ Attributes: Attributes are special words used inside an HTML tag to control the tag's behaviour or to provide additional information.
- 🖥️ HTML editor: An HTML editor is a software application used for composing and editing HTML code, such as Notepad or Adobe Dreamweaver.
😊

0 Comments