Practical HTML

8 Questions | Attempts: 391
Share

SettingsSettingsSettings
HTML Quizzes & Trivia

Practical HTML, without the useless mombo jumbo like "what does HTML stand for"


Questions and Answers
  • 1. 

    What is the correct tag and syntax for a link to google.com?

    • A.

      <a src=google.com />

    • B.

      <a link='google.com' />

    • C.

      <a href="http://google.com">yahoo.com</a>

    • D.

      <a href=google.com />google</a>

    • E.

      <link href="www.google.com">google</a>

    Correct Answer
    C. <a href="http://google.com">yahoo.com</a>
    Explanation
    C would give you a working link to google.com labeled yahoo.com

    Rate this question:

  • 2. 

    Which are the first and last tags?

    • A.

      <head></head>

    • B.

      <body></body>

    • C.

      <window></window>

    • D.

      <html></html>

    • E.

      <div></div>

    Correct Answer
    D. <html></html>
  • 3. 

    How do you give a P tag an ID of "footarzrule" and a class of "pinkish"?

    • A.

      <p identifier="footarzrule" classtype="pinkish">

    • B.

      <p identity:"footarzrule" class:"pinkish">

    • C.

      <p id="footarzrule" class="pinkish">

    • D.

      <p style="id: footarzrule; class=: pinkish;">

    • E.

      <id="footarzrule"><class="pinkish"><p>

    Correct Answer
    C. <p id="footarzrule" class="pinkish">
  • 4. 

    Write a basic outline of an HTML website using only the tags html, body, head and their respective closing tags. Disregard the docsis.

    Correct Answer
    <html><head></head><body></body></html>
  • 5. 

    Why do you use and tags if they have the potential of not doing anything to their inner text. 

    • A.

      To make the information accessible to screen readers.

    • B.

      To create a layout of your website.

    • C.

      To give the content in it names.

    • D.

      To create a feed the browser in a way it understands.

    • E.

      To make the website easyer to maintain.

    Correct Answer
    C. To give the content in it names.
  • 6. 

    How do you make text bold?

    • A.

      <bold>

    • B.

      </strong>

    • C.

      <b>

    • D.

      <i>

    Correct Answer(s)
    B. </strong>
    C. <b>
  • 7. 

    How do you place an image?

    • A.

      <img href="URL" />

    • B.

      <Img src="URL" />

    • C.

      <image href="URL" />

    • D.

      <image src="URL" />

    Correct Answer
    B. <Img src="URL" />
  • 8. 

    If im making an HTML file in the root folder with a picture called pixi.png inside a folder called lion, how should the link to the file look?

    • A.

      Pixi.png\lion

    • B.

      Lion/pixi.png

    • C.

      Http://IMAGEHOST/lion/pixi.png

    • D.

      Http://DOMAIN/lion/pixi.png

    • E.

      Lion\pixi.png

    Correct Answer
    B. Lion/pixi.png

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Jul 30, 2011
    Quiz Edited by
    ProProfs Editorial Team
  • Dec 01, 2009
    Quiz Created by
    Ischoolteam
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.