HTML Basics and Web File Extensions

Test your knowledge of HTML tags, elements, and common web file extensions used in web development

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Choose the correct HTML tag for the largest heading

  1. <h1>
  2. <head>
  3. <heading>
  4. <h6>
Question 2 Multiple Choice (Single Answer)

What is the correct HTML tag for inserting a line break?

  1. <lb/>
  2. <break/>

  3. <bk/>
Question 3 Multiple Choice (Single Answer)

What is the correct HTML for adding a background color?

  1. <body background="yellow">
  2. <body style="background-color:yellow">
  3. <background>yellow</background>
  4. <bgcolor="yellow">
Question 4 Multiple Choice (Single Answer)

Choose the correct HTML tag to make a text bold

  1. <bold>
  2. <dark>
  3. <big>
Question 5 Multiple Choice (Single Answer)

What is the correct HTML for creating a hyperlink?

  1. <a url="http://www.w3schools.com">W3Schools.com</a>
  2. <a>http://www.w3schools.com</a>
  3. <a name="http://www.w3schools.com">W3Schools.com</a>
  4. <a href="http://www.w3schools.com">W3Schools</a>
Question 6 Multiple Choice (Single Answer)

How can you open a link in a new browser window?

  1. <a href="url" target="new">
  2. <a href="url" target="window">
  3. <a href="url" new>
  4. <a href="url" target="_blank">
Question 7 Multiple Choice (Single Answer)

Which of these tags are all tags?

  1. <thead><body><tr>
  2. <table><head><tfoot>
  3. <table><tr><td>
  4. <table><tr><tt>
Question 8 Multiple Choice (Single Answer)

How can you make a list that lists the items with numbers?

  1. <ol>
  2. <dl>
  3. <ul>
  4. <list>
Question 9 Multiple Choice (Single Answer)

How can you make a list that lists the items with bullets?

  1. <ul>
  2. <ol>
  3. <dl>
  4. <list>
Question 10 Multiple Choice (Single Answer)

What is the correct HTML for inserting an image?

  1. <img>image.gif</img>
  2. <image src="image.gif" />
  3. <img href="image.gif />
  4. <img src="image.gif" />
Question 11 Multiple Choice (Single Answer)

A -- file indicates that the Web page is an Active Server Page?

  1. .asp
  2. .asd
  3. .asc
  4. .ascx
Question 12 Multiple Choice (Single Answer)

Which is Portable Network Graphic is a graphic file format made for the Web?

  1. PNG
  2. PNC
  3. PST
  4. PPT
Question 13 Multiple Choice (Single Answer)

These file types indicate that the file is a ColdFusion file?

  1. .cfm and .cfml
  2. .cam and .caml
  3. .cofm and .cofml
  4. .cofn and .cofnl
Question 14 Multiple Choice (Single Answer)

Extension for ASP.NET Web Handler File?

  1. ASCX
  2. ASPX
  3. ASHX
  4. ASMx
Question 15 Multiple Choice (Single Answer)

Windows Font File having extensions as --

  1. .fnt
  2. .fonts
  3. .winfonts
  4. .wfnts
Question 16 Multiple Choice (Single Answer)

This file type indicates an HTML file?

  1. .html
  2. .hta
  3. .htx
  4. .httml
Question 17 Multiple Choice (Single Answer)

CGI stands for … ?

  1. Common Gateway Interface
  2. Common Gateway International
  3. Commercial Gateway Interface
  4. Common Global Interface
Question 18 Multiple Choice (Single Answer)

Extension for Active Server Custom Control?

  1. ASCX
  2. ASPX
  3. ASHX
  4. ASMx
Question 19 Multiple Choice (Single Answer)

Font files having extensions as …

  1. .ttf
  2. .sfnt
  3. .fn
  4. .fnts
Question 20 Multiple Choice (Single Answer)

A -- file indicates that the Web page is an Active Server Page?

  1. .asp
  2. .asd
  3. .asc
  4. .ascx