HTML_Quiz.md - brainchildservices/curriculum GitHub Wiki

  1. What are the parts of the HTML page ?

    Basically, there are two parts of the web pages : Content and Tags

  2. What do you mean by Tags ?

    In HTML, page content is placed between the Tags, which are basically responsible for the formatting of the page. Tags are written between less than symbol (<) and greater than (>) symbol.
    Example: <h1>text</h1>
    In the above example <h1> is the opening tag and </h1> is the closing tag.

  3. Do all HTML tags are written in a pair ?

    No, there are some HTML tags are present which can be used as single.
    Example: <img> , <br>

  4. What are the list types available in HTML ?

    • Ordered list
    • Unordered list
  5. How to apply Hyperlink in an HTML page ?

    We can use <ahref> tag for HTML page.
    Example: <a href="www.brainchildschool.com">Brainchildschool</a>

  6. How to change the font colour on the HTML page ?

    we can give this command for changing the font color
    <fontcolor="blue"> Hello World</font>
    <p style="color:red">Hello World</p>

  7. How to write the paragraph on the HTML page ?

    For the paragraph tag <p> text you want to show the paragraph </p> will be used.

  8. How will you make the image as the background of the web pages ?

    The command which for making the image as a background is: <body background = “image.gif”> where image.gif will be the path of the image.

  9. What is a line break in HTML ?

    A line break is the point at which two lines of text are divided. In HTML, the <br> element creates a line break.

  10. In html how to give space ?

    &nbsp;

⚠️ **GitHub.com Fallback** ⚠️