• Home
  • Courses
  • School
  • Programs
  • Problems
  • Contact Us
  • My account
  • Register

Have any question?

(+91) 98222 16647
info@simplycoding.in
RegisterLogin
Simply Coding
  • Home
  • Courses
  • School
  • Programs
  • Problems
  • Contact Us
  • My account
  • Register

Web Designing

HTML Formatting Tags Question Bank

  • Categories Web Designing, HTML, HTML

This post contains 1 mark questions on the topic of HTML formatting tags in the form of MCQs, fill in the blanks and true or false statements. These questions are in accordance with the new revised format of 2020.​

Fill in the following blanks:

  1. The attribute topmargin is part of ___________ tag.

Ans. BODY

  1. ___________ attribute of BODY tag helps to set background color.

Ans. bgcolor

  1. _________ tag is used to make the text bold.

Ans. <B>

  1. ________ attribute is used to define the thickness of horizontal rule.

Ans. size

  1. To display the text in italics, __________ tag is used.

Ans. <I>

  1. _________ tag is used to underline the text.

Ans. <U>

  1. Background colour is set by _________ attribute of body tag.

Ans. Background

State whether the following statements are true or false:

  1. There should be only one <BODY> tag in each Web page.

Ans. True

  1. Bgcolor is an attribute of <FONT> tag.

Ans. False

  1. Background attribute is used to display image.

Ans. True

  1. color is an attribute of <FONT> tag.

Ans. True

  1. There must be only one <head> tag in each web page.

Ans. True

  1. A HTML document contains only <HTML> tag.

Ans. True

  1. Topmargin is used to specify the distance between the top of the document and top of the browser window.

Ans. True

Multiple Choice Questions:

  1. With which HTML tag do you apply attributes that modify text size, font-face, and colour?
    1. <font>
    2. <mod>
    3. <f>
    4. <text>

Ans.  1

  1. Attribute for choosing type of font is
    1. text             
    2. Face
    3. Font
    4. Type

Ans. 2

  1. Which is correct attribute to change the text colour to red?
    1. <BODY bgcolor=”red”>
    2. <BODY text=”red”>
    3. <BODY color=”red”>
    4. None of the above

Ans. 2

  1. What is the correct HTML statement for adding a background color?
    1. <body background = “ red”>
    2. <background>red</background>
    3. <body bgcolor = “red”>
    4. None of the above

Ans. 1

  1. In which HTML element do you apply attributes that modify the background image?
    1. The <html> element
    2. The <head> element
    3. The <background> element
    4. The <body> element

Ans. 4

  1. Background attribute of <BODY> is used to
    1. give background color to web page
    2. load an image and use it as a background for webpage.
    3. insert an image within web page.
    4. none of these.

Ans. 2

  1. Which HTML tag would you apply the bgcolor attribute to in order to change the background color of the web page?
    1. <html>
    2. <head>
    3. <body>
    4. <style>

Ans. 3

  1. Which attribute is not supported by a <BODY> tag?
    1. bgcolor
    2. size
    3. text
    4. link

Ans. 2

  1. What will happen if the background image is smaller than the browser’s window?
    1. It will leave a blank space at the bottom of your page
    2. It will be repeated
    3. It will be stretched
    4. It will not be displayed

Ans. 2

  1. Why should you specify a background color, if you are using an image for the actual background of your page?
    1. So the text shows up better
    2. The background color will be shown until the image loads
    3. In case the image does not fit right
    4. None of the above

Ans.2

  1. Which attribute of <BODY> tag specifies the color of visited links in a document?
    1. vlink
    2. alink
    3. link
    4. None of these

Ans. 1

  1. To specify the background image for the document, Background attribute is used with which of the following tags?
    1. < BODY>
    2. <HTML>
    3. <HEAD>
    4. None of these

Ans. 1

  1. Every HTML document must include the tags __________.
    1. <html> </html>&<body> </body>
    2. <body> </body> & at least one <p>
    3. <html> </html> & <head> </head>
    4. <p> </p>

Ans.1

  1. What HTML container tags do you apply to text to format the text as a paragraph?
    1. <para></para>
    2. <text></text>
    3. <p></p>
    4. <format style = “para></format>

Ans. 2

  1. The page title is inside the __________ tag.
    1. Body
    2. Head
    3. paragraph
    4. Table

Ans. 2

  1. In a Web page, you can place
    1. 2 levels of headings
    2. 6 levels of headings
    3. 4 levels of headings
    4. 8 levels of headings

Ans. 2

  1. Which of the following will give smallest size of the text?
    1. <H3>
    2. <H6>
    3. <H2>
    4. <H4>

Ans. 2

  1. The default alignment for paragraph is
    1. left
    2. right
    3. center
    4. justified

Ans. 1

  1. Which of the following HTML container tags do you apply to text for formatting the text as a paragraph?
    1. <PARAGRAPH> </PARAGRAPH>
    2. <PARA> </PARA>
    3. <P></P>
    4. None of the above

Ans.3

  1. The style element is used for setting
    1. font, color and alignment
    2. font, color, alignment and border
    3. color, alignment and border
    4. None of the above

Ans. 2

  1. A coded HTML command that indicates how part of a web page is displayed is called__________.
    1. Attribute
    2. Tag
    3. Style
    4. All of these

Ans.2

  1. To define the basic font size, which of the following tag is used?
    1. SIZE
    2. BASEFONT
    3. FONT
    4. All of these

Ans.2

  1. How can you make a text appear bold?
    1. <b> text</b>
    2. <strong> text</strong>
    3. both (a) and (b)
    4. None of the above

Ans. 3

  1. Choose the correct HTML tag to make a text italic
    1. <italic>
    2. <i>
    3. None of these
    4. all of these

Ans. 2

  1. The attribute used to choose the type of font in HTML is
    1. Character
    2. Face
    3. Text-type
    4. Font-type

Ans. 2

  1. In which section of an HTML document do you enter the <P> element?
    1. Body
    2. Head
    3. CSS
    4. Footer

Ans.1

  1. Which of the following is the proper syntax to start an HTML comment?
    1. <!- –
    2. <!>
    3. <<>>
    4. <//>

Ans. 2

  1. Which one is correct?
    1. <b>Click Here<b>
    2. <strong>Click Here<strong>
    3. <b>Click Here</b>
    4. </strong>Click Here</strong>

Ans. 3

  1. Choose the correct HTML tag to make the text bold?
    1. <B>
    2. <STRONG>
    3. Both (a) & (b)
    4. None of the above

Ans. 3

  • Share:
author avatar
Simply Coding

Previous post

Neon number
October 29, 2020

Next post

HTML Tables Question Bank
October 29, 2020

You may also like

HTML Table tags
HTML Table Tags
14 June, 2021
HTML List
HTML List Tags
14 June, 2021
Audio and Video tag in HTML
HTML Audio and Video tags
14 June, 2021

Leave A Reply Cancel reply

You must be logged in to post a comment.

Categories

  • Uncategorized
  • Programs
    • Python
    • Java
  • Problems
    • Python
    • Java
    • Web Development
      • Internet
    • Emerging Technologies
  • Notes
    • General
    • QBasic
    • MS Access
    • Web Development
      • XML
      • HTML
      • JavaScript
      • Internet
    • Database
    • Logo Programming
    • Scratch
    • Emerging Trends
      • Artificial Intelligence
      • Internet of Things
      • Cloud Computing
      • Machine Learning
    • Computer Fundamentals
      • Computer Networks
      • E-Services
      • Computer Hardware
    • Python
    • Java
  • School
    • ICSE
      • Computers Class 9
        • Java Introduction
        • Tokens & Data Types
        • Java Operators
        • Math Library
        • if & switch
        • For & While
        • Nested loops
      • Computer Class 10
        • Sample Papers
        • OOPS concepts
        • Functions in Java
        • Constructors
        • Arrays in Java
        • Strings in Java
    • SSC
      • IT Class 11
        • IT Basics
        • DBMS
        • Web Designing
        • Cyber Laws
      • IT Class 12
        • Web Designing
        • SEO
        • Advanced JavaScript
        • Emerging Tech
        • Server Side Scripting
        • E-Com & E-Gov
      • Computer Science 11
      • Computer Science 12
    • CBSE
      • Computer 9
        • Basics of IT
        • Cyber Safety
        • Scratch
        • Python
      • Computer 10
        • Sample Papers
        • Networking
        • HTML
        • Cyber Ethics
        • Scratch
        • Python
      • Computer Science 11
        • Computer Systems
        • Python 11
          • Python Basics
          • Python Tokens
          • Python Operators
          • Python if-else
          • Python loops
          • Python Strings
          • Python List
          • Python Tuple
          • Python Dictionary
          • Python Modules
        • Data Management
      • Computer Science 12
        • Sample Papers
        • Python 12
          • Python Functions
          • Python File Handling
          • Python Libraries
          • Python Recursion
          • Data Structures
        • Computer Networks
        • Data Management
    • ISC
      • Computer Science 11
        • Introduction to Java
        • Values & Data Types
        • Operators
        • if & switch
        • Iterative Statements
        • Functions
        • Arrays
        • String
        • Data Structures
        • Cyber Ethics
      • Computer Science 12
        • Sample Papers
        • Boolean Algebra
        • OOPS
        • Wrapper Classes
        • Functions
        • Arrays
        • String
Simply Coding Computer Courses for School                Privacy Policy     Terms of Use     Contact Us

© 2021 Simply Coding

Login with your site account

Lost your password?

Not a member yet? Register now

Register a new account

Are you a member? Login now