Introducation to HTML Computer -7th Question & Answer

Computer 7th Class – Introducation to HTML Q&A by Pratap Sanjay Sir
HTML Banner

Ch09: Introducation to HTML ⇨ Q&A




✔️ Tick the Correct Answer


1. An HTML document is saved with which extension?



2. The ______ element defines the identity of an HTML document.



3. The first standard HTML specification published in 1995 was named:



4. Which of the following is not a container element?



5. Notepad is an example of a text editor.



✏️ Fill in the Blanks using the given words-


  1. An HTML element can contain various attributes which specify their properties.
  2. The F5 key is pressed to refresh a web page.
  3. The Body element contains the main content of the web page.
  4. Markup is the program code that entitles the parts of the HTML document which are arranged on the web page.
  5. The heading elements are used to define heading of a paragraph in a web page.
  6. 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


  1. HTML was invented in 1995. ➤ F
  2. You can create links between different parts of the same document. ➤ T
  3. The path of the image need not be correct in the BACKGROUND attribute. ➤ F
  4. The default text colour in an HTML document is black. ➤ T
  5. An HTML tag is used to structure the HTML document. ➤ T

📘 Answer the Following Questions



  1. 🖊️ 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.

  2. 💻 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."

  3. 🔤 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.

  4. 🔍 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>).

  5. 📝 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.

  6. ✒️ 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


  1. 🗂️ Markup: Markup is the program code that entitles the parts of the HTML document which are arranged on the web page.
  2. 📦 Container element: A container element stores content between opening and closing tags, such as <html> and </html>.
  3. 📏 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.
  4. ⚙️ Attributes: Attributes are special words used inside an HTML tag to control the tag's behaviour or to provide additional information.
  5. 🖥️ HTML editor: An HTML editor is a software application used for composing and editing HTML code, such as Notepad or Adobe Dreamweaver.

😊


🔔 Subscribe to My Channel


Post a Comment

0 Comments