MENU

Chapter 5 HTML (HyperText Markup Language) Solutions

Question - 41 : - Explain the topmargin and leftmargin attributes of tag.

Answer - 41 : -

topmargin
Sets a topmargin (distance between the top of the document and the top of the browser window) of your body element.
Syntax
e.g.
Topmargin
LearCBSE is the best website for CBSE students.
Output
 
leftmargin
Sets a left hand margin (distance between the left side of the document and the left edge of the browser window) of your body element.
Syntax
e.g. 
Leftmargin
LearCBSE is the best website for CBSE students.

Question - 42 : - Write HTML code to display various bullet types.

Answer - 42 : -

  • Lotus
  • Rose
    • Sun
    • Hoon
    • Output

      Question - 43 : - Give HTML code for the following output

      Answer - 43 : -

      • Sun
      • Moon
      • Roman numbers
        <01 type=“l”>
      • Sun
      • Moon
      • Lowercase roman number list starting from 5th number
        1. Sun
        2. Moon
        3. Output

          Free - Previous Years Question Papers
          Any questions? Ask us!
          ×