Pages

Friday, 7 December 2018

Class 12 - Informatics Practices - HTML Basics - 1 Mark Based Question Answers (#cbsenotes)(#eduvictors)

Informatics Practices - HTML Basics

1 Mark Based Question Answers

Class 12 - Informatics Practices - HTML Basics - 1 Mark Based Question Answers (#cbsenotes)(#eduvictors)

Q1. HTML tags must be written within_____________.

Answer: HTML tags must be written within angular <> bracket e.g. <font>


Q2. What is the correct structure of the HTML document?

Answer:
<HTML> // It identifies that the document is an HTML document.
// Head tag makes the header for document.
<HEAD> <TITLE> Page Title </TITLE> </HEAD>
//contains the title which appears in the title bar of the web browser
<BODY> See Eduvictors.com for cbse notes </BODY> 
// The content written in BODY tag appears in the windows. 
//It contains many other tags.
</HTML>




Q3. The IMAGE tag uses the _______ attribute to specify the URL of the image to be displayed.

Answer: SRC attribute.


Q4. Which tag is used to embed an image in an HTML document?

Answer: <img> tag


Q5. What is HTML?

Answer: HyperText markup language (HTML) is used to create web pages or web documents. It tells the web browser how to display text, pictures and links on the screen. HTML provides various markup elements. Using these elements we can specify various parts of a web page and formatting of the web page. Basically, HTML is used to design the layout of a document with a hyperlink.


Q6. What is the use of TITLE tag in HTML?

Answer: It contains the title text which appears in the title bar of the web browser.


Q7. How to change the background colour of the HTML page?

Answer: Using background attribute in <body> tag.
e.g. <BODY background="picture path" topmargin="70" leftmargin=10 vlink="lime" alink="red">


Q8. What are the different levels of Headings?

Answer: In HTML there are six levels of heading (1 to 6). <H1> is the largest and <H6> is the smallest size.


Q9. What is the use of <BR> tag?

Answer: <BR> tag is used to break line. It displays the remaining text in the next line. It is one of the empty tags.


Q10. Which tag is used to display a horizontal ruler? 

Answer: <HR> tag is used to insert a Horizontal line across the browser window.


Q11. Write the properties of <FONT> tag.

Answer:  The HTML <font> tag defines the font size, color and face of text in the HTML document. This tag is obsolete now, was removed in HTML5.

Q12. Write the code in HTML to set background colour as Red and text “ I am learning HTML” as blue.

Answer:
<HTML>
  <BODY BGCOLOR="RED" TEXT="BLUE">
      I am learning HTML
  </BODY>
</HTML>

Q13. How would you tell the web browser to display the web page in Hindi?

Answer: By using lang attribute.
e.g. <html lang="hi">


Q14. Write the syntax of <img> tag?

Answer: <IMG SRC="location" BORDER = "border" ALIGN = "alignment" HEIGHT = "height" WIDTH = "width">


☛See also:
Database Concepts (Important Terms)
 Java GUI Programming - Part-3 (Q & A)
 Java - Basics Of Object Oriented Programming (Q & A)
 Java - Inheritance (Q & A)
 Java Concepts (Worksheet-1)
 Java Concepts (Worksheet-2)
 Informatics Practices (Worksheet-3)
 IT Applications (Q & A)
 SQL Commands (Summary)
HTML Basics (1 Mark Based Q & A)