HTML Basics
Test your knowledge of HTML tags, attributes, and web development fundamentals
Questions
Which of the following tags would create an image on your website, http://www.myweb.com that is found on another website, http://www.bonzo.com/bonzo.gif that is aligned to the center of the page and has a thin border?
- < img src="bonzo.gif" web="http://www.myweb.com" align="center" border="small" >
- < img src="http://www.bonzo.com/bonzo.gif" web="http://www.myweb.com" align="center" border="5" >
- < img src="http://www.bonzo.com/bonzo.gif" align="center" border="5" >
- < img src="http://www.bonzo.com/bonzo.gif" align="center" border="thin" >
Which of the following HTML tags allows you to define the background of the webpage or a portion of it as an attribute of the tag?
- TABLE
- IMG
- BACKGROUND
- BODY
Which of the following tags allows you to create a URL that links to another part of the webpage "location"?
- < A HREF="#location">< /A>
- < A HREF="location">< /A>
- < A HREF="location">link< /A>
- None of the above
Which of the following HTML tags is/are used to changed the font size of text?
- FONT
- SIZE
- H1
- HEAD
To create a hyperlink that points to an email address, the contents of the HREF attribute must begin with: _____
- mailto
- emailto
- sendto
- messageto
Which of the following correctly describes the use of the ALT attribute of the IMAGE tag?
- To provide an alternate image location if the original is not available
- To provide the image height
- To provide the image width
- To provide a textual description of the image
Which of the following tags can be used to create a comment in HTML?
- < !-- comment -->
- < ! comment >
- #comment
- < !-------comment-->
What is the purpose of the < NOFRAMES> tag?
- To ensure that frames are not used on a particular page
- To give the user the option of not using frames on a particular page
- To let the browser know what page to display if it does not support frames
- To help search engine robots better access all of the content on a page
Which of the following tags is used to categorize HTML pages so that search engines can better identify their content?
- SUMMARY
- SUM
- META
- CRAWLER
- HEADER