Basic HTML 5 Commands


Available Answers

  1. 1.

    Fill in the blanks with the correct words.

    <h1>, font-family, font, line-height, empty, text-transform, left, 0(zero)
    1. The <hr> tag is an ___________ element.
    2. The ___________ element defines the most prominent heading.
    3. The __________ property specifies the distance between two lines.
    4. For hexadecimal values, the value of each color must be between ___________ and FF.
    5. The default value of the text-align property is _____________.
  2. 2.

    Write T for the true statement and F for the false one. Correct the false statement(s).

    1. The heading element defines four levels of headings.
    2. The text-color property specifies the foreground color of the test.
    3. The text-align property can take the value 'justify'.
    4. You can specify shadow effect using the text-shadow property.
    5. The text-shadow property can only be used with the <p> element.
  3. 3.

    Choose the correct option.

    1. Which of the following defines the least prominent heading?
      1. <h1>
      2. <h5>
      3. <h6>
      4. None of these
    2. Which of the following values can be assigned to the text-align property?
      1. left
      2. right
      3. center
      4. All of these
    3. Identify the correct code.
      1. text-decoration: none
      2. text-decoration: underline
      3. text-decoration: overline
      4. All of these
    4. While specifying RGB color values,the values must be from 0 to
      1. 254
      2. 255
      3. 256
      4. None of these
    5. The ___________ property is used to specify horizontal alignment of text.
      1. align
      2. alignment
      3. text-align
      4. None of these
  4. 4.

    Mention any two ways in which the color property can be assigned its values.

  5. 5.

    Name the property that is used to specify the horizontal alignment property. What is its default value?

  6. 6.

    What values can be assigned to the text-transform property?

6 more answer(s) available.

Please login to post your comments.