Quiz
Untitled
This quiz has question types that open in the usual player.
Questions in this quiz (42)
1What is the file name for the main page of each website?
- AIt doesn't matter what you name it, the hosting server will always know which file your main page is.
- Bmain.html
- Chomepage.html
- Dindex.html
2What does HTML stand for?
- AIt doesn't stand for anything, but is actually based on the name of the man who invited it. Hector Malord. The H and T come from HecTor and the M and L come from MaLord.
- BHypertext Markup Language
- CHappiness Tends More Love
- DHigher Textual Manipulated Language
- EHyperlink Text Markup Language
3What does CSS stand for?
- AIt doesn't stand for anything.
- BChanges Saved Separately
- CContent Style Sheet
- DCascading Style Sheet
- ECauses of Slow Sites
4How many fonts are REQUIRED for a font-family list for the HTML to be processed correctly? (not taking into account best practices)
- A3
- B1
- C2
- D5
- E0
5You create a page with external CSS, but you also used inline CSS. When it comes to applying style changes which of the two will be applied last and therefore has priority?
- ABoth are applied at the same time so you can never know.
- Binline
- CIt depends on where in the <head> the <link> to the external CSS is.
- Dexternal
6Which type of CSS is put inside the head tag in the index.html file?
- AInternal
- BIn Line
- CExternal
7Create a class attribute that only works for paragraphs that when called makes the paragraph have margins 4 times the size of the default font. (Use your notes and carefully check the answer when done)
[blank_start]p.anything{margin:400%;}[blank_end]- Ap.anything{margin:400%;}
8Which of the following is an incorrect use of border inside a CSS file?
- Aborder: dashed;
- Bborder: 12px dotted #867530;
- Cborder: dashed 12px;
- Dborder: #ff2319, solid;
9What is the name of the style property that controls the space outside of an HTML element?
- Apadding
- Bforce field
- Cmargin
- Dpersonal space
10Which of the following should you avoid using in an html document to emphasize words?
- AThe smallest heading tag <h6> </h6>
- BThe emphasis tag <em> </em>
- CThe strong tag <strong> </strong>
- DThe bold tag <b> </b>
11Here is an example of an anchor tag:
<a href="#whereami">Click me!</a>
Where does this anchor tag take you?- AThis opens the same website in a new tab, but the tab name is whereami.
- BIt takes you to the tag on the current page with the attribute id="whereami".
- CIt takes you to a new webpage with the title Where Am I.
- DThis does not take you anywhere.
12Which of the following will change it so that the spacing between the boxes in a table disappear?
- ASet border-collapse to collapse in the CSS for tables.
- BSet border-collapse to separate in the CSS for tables.
- CSet the border-style to none in the CSS for tables.
- DUse the attribute no-space in the table tag.
13Which of the following attributes will make a table data cell take up additional horizontal space (provided that the table can accommodate)?
- A<td col-span="2">
- B<td colspan="2">
- C<td rowspan="2">
- D<td row-span="2">
14Which of the following tags can be outside a <table></table> tag?
- A<td>
- B<tr>
- C<th>
- D<hr>
15Which of the following is NOT allowed inside of a list item?
- Aa meta tag
- Ba new list
- Ca paragraph tag
- Dtext
16Why do unordered lists change symbols at the first three levels when nested but ordered lists do not?
- AUnordered lists do not change symbols when nested and this is a trick question.
- BNested ordered lists actually do change their numbering systems when nested and this is a trick question.
- CUnordered list symbols are controlled by style changes which are inherited whereas ordered lists are changed by an attribute.
- DOrdered list symbols are controlled by style changes which are inherited whereas unordered lists are changed by an attribute.
17HTML requires _____ fonts in a font family list; however, the minimum you should be using due to industry standard is ______.
- A3, 3
- B1, 1
- C1, 3
- D3, 1
18You are working on a html document currently in a folder called ThisFolder which is inside a folder called MasterFolder. Which of the following file paths would allow you to look at a file called file.txt in a different folder called ThatFolder inside MasterFolder?
Hint: DRAW A PICTURE!- AMasterFolder/ThatFolder/file.txt
- B../MasterFolder/ThatFolder/file.txt
- C./ThatFolder/file.txt
- D../ThatFolder/file.txt
19What are the attributes height and width measured in when they appear in the <img> tag?
- ADPI (dots per inch)
- B% of the page
- Cpixels
- DWhatever acceptable units you declare (em, px, %, etc.).
20Which of the following attributes is/are optional for the image tag but is/are needed to prevent screen flickering?
- Asrc
- Bwidth, height
- Calt
21How do you know how many numbers to put in the coords attribute for an area tag?
- Ait is always the same
- Bit depends on what shape is set to
- Cjust ask a sasquatch
- Dit is always an even number
22Which type of image file is best to use if you have something with contrasting colors and sharp lines like a company logo?
- AJPEG
- BGIF
- CPNG
23What should the file name and title be for html files other than your index.html?
- Athe specific name does not matter
- Bthe title must be the same as the index.html and the file name should be index.html
- Cthe title must be the same as the index.html but the file name should be different
- Dthe title can be different from the index.html but the file name should be the same
24Each shape requires a certain number of numbers listed in the coords attribute. Which one of the following is correct?
- Apolygonal regions will always have an even number of numbers
- Bcircles require 4 numbers: 2 for the center point and 2 for a point on the circumference of the circle
- Crectangle require 8 numbers: 2 for each of the four corners
- Ddefault requires 2 numbers from the top left corner, 0 and 0
25Which of the following is NOT allowed inside of a list item?
- Atext
- Ba meta tag
- Ca new list
- Da paragraph tag
26Unordered list symbols are controlled by style changes which are inherited whereas ordered lists are changed by an attribute
- ATrue
- BFalse
27the number of coords for an image map are the same regardless of the shape.
- ATrue
- BFalse
28The height attribute for an image tag is measured in pixels
- ATrue
- BFalse
29JPEG file use lossless compression since information is lost during compression
- ATrue
- BFalse
30Style changes inside the head tag are called internal CSS
- ATrue
- BFalse
31Width and height attributes are needed for an image to help prevent flickering.
- ATrue
- BFalse
32The <br> tag can only be used inside text elements.
- ATrue
- BFalse
33use the row-span attribute to make cells in a table take up more horizontal space in the row
- ATrue
- BFalse
34you create a page with external CSS, but you also used inline CSS. When it comes to applying style changes which of the two will be applied last and therefore has priority?
- AInline
- BExternal
- CBoth are applied at the same time so you can never know
- DIt depends on where in the <head> the <link> to the external CSS is
35Which of the following tags allow the use of the cite attribute?
- A<q>
- B<pre>
- C<br>
- D<hr>
36Which is an acceptable name for your main page's file?
- Adata.css
- Bindex.html
- Cmainpage.html
- Dthe file name does not matter
37What is the line of html code to make a paragraph with red text that says "Onomatopoeia is Jason's favorite work."?
- A<p style="color:red;">Onomatopoeia is Jason's favorite word.</p>
- B<p style="text-color:red;">Onomatopoeia is Jason's favorite word.</p>
- C<p style="color=red;">Onomatopoeia is Jason's favorite word.</p>
- D<p style="text-color=red;">Onomatopoeia is Jason's favorite word.</p>
38List the 5 meta tags we use in the main file for each website.
1. [blank_start]charset[blank_end]
2. [blank_start]author[blank_end]
3. [blank_start]description[blank_end]
4. [blank_start]keywords[blank_end]
5. [blank_start]viewport[blank_end]- Acharset
- Bauthor
- Cdescription
- Dkeywords
- Eviewport
39Here is an example of an anchor tag: <a href="#nowhere">Click me!</a>
Where does this anchor tag take you?
[blank_start]a tag with the id="nowhere"[blank_end]- Aa tag with the id="nowhere"
40Inside the <table></table> we are allowed to use which tag as its child? What are the two tags that go inside of that child tag?
1. [blank_start]part:<tr></tr>[blank_end]
2. [blank_start]<td></td>[blank_end]
[blank_start]<th></th>[blank_end]- Apart:<tr></tr>
- B<td></td>
- C<th></th>
41Create a class attribute that only works for paragraphs that makes the border look solid, have a thickness of 2 pixels, and shows up in the hex code color #AA34BF. Make sure to change the border in a single line of code.
[blank_start]p.name{border: solid 2px #AA34BF;}[blank_end]- Ap.name{border: solid 2px #AA34BF;}
42list at least 5 tags you can put inside a <li></li>
[blank_start]<h1></h1>[blank_end]
[blank_start]<h2></h2>[blank_end]- A<h1></h1>
- B<h2></h2>
Information
- Description
- Quiz on Untitled, created by Kyra McIntyre on 13/03/2025.
- Author
- Kyra McIntyre
- Language
- English
- Views
- 4
- Rating
- No ratings yet Rate this quiz