Html
The _____ character is used to create a bookmark in an HTML document.
#
In CSS, the _______ character identifies a class selector.
.
Which of the following characters is used to create a closing tag?
/
Which of the following paths is an absolute path?
/directly/filename
What html code will most web browsers display as italics
<em> Hello </em>
HTML Paragraphs
<p></p>
Which of the following tags is used to link a URL in an HTML document?
A
How can we render a drop-down list in a form
Add a select element with option elements nested inside
Which of the following tags would contain the html for a web pages visible content
Body
How can a user specify rounded corner borders to an element in CSS?
Border - radius
How does one instruct the browser to control the page's scaling and dimensions within a meta tag?
By declaring name ="viewport"
How does a user display the linked document in the full body of the window?
By using _top
How does one minimize an HTML code?
By using a group selector
How does one load an external style sheet in CSS?
By using the @import rule
How does a user link an HTML element with a stylesheet?
By using the class attribute
How does one specify the caption of an image in HTML?
By using the figcaption tag
How does a user specify whether the text should be displayed in the small-caps or normal font?
By using the font - variant property
Is the benefit of using the label element
Clicking on the label element will focus on the text field of the associated input element
Which of the following is one of the layers of the CSS box-model?
Content
Which of the following is used to specify the color of a division element using an element selector?
Div { color: value }
Which of the following selectors selects an element on the basis of its name?
Element
What is the full form of XHTML
Extensible Hypertext Markup Language
Which of the following CSS properties is used to specify bold characters?
Font- weight
Which of the following tags prints the title at the bottom of the webpage?
Footer
Which of the following values of the border-style property specifies a 3D grooved border?
Groove
The following HML code should only exist within which of the following tags. <title> code </title>
Head
Which of the following specifies the style of an HTML document within a style tag?
Internal
Why is the div tag not Semantic
It provides no context as to what the content is inside of the tag
What Is the benefit of implementing client side validation
It saves us time from having to send information to the server and wait for the server to respond
Which of the following text-align property values stretches the lines so that each line has an equal width?
Justify
From where does the browser restart the content when it encounters a <br> tag?
Left margin
Which of the following properties specifies the space between the lines of a text?
Line - height
The following code results in no visible output to the browser, why? <ol> </ol>
List items must be added to the list
What is used to specify the font used by a dialog box?
Message - box
Which of the following tags is placed within a <head> tag of an HTML document
Meta
Which of the following HTML tags specifies a paragraph in an HTML document?
P
The ______ element is used for styling specified sections of an element.
Pseudo
Which of the following specifies a special state of an element?
Pseudo class
Which attribute specifies the relationship between an HTML document and the linked file?
Rel
How many levels of headings are there in HTML?
Six
Which of the following HTML attributes prevents the execution of the dimensions of an image defined in the stylesheet?
Style
Which tag should surround an entire table of data
Table
Which tag adds new data to an HTML table
Td
Which of the following properties specifies the space before the first line of the text?
Text-indentation
In CSS, the ______ property is used to specify the case of letters.
Text-transform
Which of the following tags is used to separate the footer of the table from Its body
Tfoot
Why is the code below incorrect <video src="myvid.mp4" controls >
The video element is not a self-closing tag. It should have an opening and a closing tags
Is the purpose of indention and white space
To make code in an HTML file more readable
Which tag creates new rows in an HTML table
Tr
True or false you can assign default text to a text area element by adding text between the opening and closing text area tags
True
Which of the following attributes is used to define the language of the style sheet?
Type
Which of the following is one of the attribute of an HTML script element?
Type
Which encoding scheme is designed for backward compatibility with ASCII encoding?
Utf-8
Is the difference between embed and video
Video can only be use for video, while embed can Be used for any type of media
How are radio buttons different from checkboxes
You can select multiple checkboxes but only one radio button
Which of the following is one of the value of the target attribute in HTML?
_self
Which of the following pseudo classes selects the HTML elements that do not match the selector division?
:not (div)
In CSS, the "property: value" pair will be separated by ______.
;
Which of the following is the correct syntax for a comment in Html
<! - - comment - ->
The _______ tag adds comments in an HTML document.
<!- - comment goes here - ->
What should be the first statement of an HTML5 document?
<!DOCTYPE html>
Which of the following tags instructs the browser to expect a well formed HTML document
<!DOCTYPE html>
Which of the following would create a link to a local HTML file called aboutme.HTML
<a href="./aboutme.html">About Me </a>
Which code snippet is the correct way to write this in semantic HTML <div I'd="header"> <h1>code</h1> </div>
<header><h1>code</h1></header>
What is the syntax for linking an external style sheet in an HTML document?
<link rel="stylesheet" href="filename.css">
Which of the following is the correct syntax for the paragraph html element
<p> paragraph </p>
Which tag as a new row header to an HTML table
<th scopes="row"></th>
Which of the following tags is used to enclose the row of a table containing its headers
<thead > </thead>
What is rendered on the webpage as a result of the code provided <form action="/processing.html" method="GET"> <label for="mystery"> What gets rendered? </. label> <input type="range" Id="mystery" name="mystery" min="0" max="100" step="10"> </form>
A form containing a slider that has a maximum value of 100, a minimum of zero, and moves in steps of 10
Which of the following pseudo classes selects a non-visited link?
A: link
The following code creates a link to another page. Which of the following will cause the page to open in a new browser window? <a href="https://www.codecademy.com/">Codecademy</a>
Add the target attribute with its value said to_blank
What is the correct definition of an html element
An html tag and the content that it contains or marks up
Which of the following HTML elements specifies its meaning to both the web browser and developer?
Aside
Which of the following HTML attributes is a boolean attribute that indicates how the script should be executed?
Async
Why is the code below incorrect <audio src="AudioFile.mp3"/>
Audio is not a self closing tag And requires an opening and closing tag
Which of the following HTML tags is a stand-alone tag?
Br
Which of the following elements will directly affect the vertical spacing in an html layout
Br
The contents of the <title> tag will appear where in a modern browser?
Browsers tab
How would the output of the code below change if <ul> and </ul> were changed to <ol> and </ ol>, respectively??
Bulletin points in the output would change to numbers
Which of the following specifies the relationship between two CSS selectors?
Combinator
Which of the following tags is used to introduce an item in a description list?
Dt
Which of the following stylesheets will increase the page loading speed?
External
Which of the following is valid html for the heading tag with the smallest size and the lowest tank in the hierarchy
H6
All HTML code must be nestled within which of the following tags
HTML
Which of the following is the current HTML standard
HTML five
To the following elements contains our webpages meta-data
Head
Which of the following tags is used for a thematic break?
Hr
______ is an attribute of the anchor tag that specifies the address of the destination.
Href
Which path specifies that the file is located one level up from the current directory?
Href ="../filename"
Which of the following versions of the HTML is a barebones version?
Html 1.0
The ________ attribute of the meta tag is used to refresh the page or to set a cookie.
Http-equiv
The abbreviation html stands for
Hypertext markeup language
How do most browsers depict active links by default?
I'm red with an underline
Which of the following attributes is used while creating a bookmark link in HTML5?
Id
Which of the following style sheets is defined within a head tag?
Internal
Which of the following points does one need to consider while creating a meta description?
Keywords and length of description
Which of the following allows you to create your own vocabularies and extend your webpages with custom semantics?
Microdata
Which of the following elements is used to migrate to different pages of the Web site?
Nav
Which of the following HTML list tags defines a numbered list?
Ol and li
Does the following CSS code add Td, tr { Border: 1px solid black; } Th { Border: 1px solid blue; }
One pixel black border or two rows in cells. One pixel blue border to headers
Which of the following file paths is used to point the files according to their location with respect to the current file in HTML?
Relative
What attribute should you add to a input element if you want to ensure that users to provide a response
Required
Which Semantic tag completes the code
Section then aside
Add the correct type of semantic tag
Section, Header two, then article
Which of the following tags is used to separate the body of the table from its headers and footers
Tbody
The following code is supposed to create a link to another webpage but it fails to do so why <a>code</a>
The a element is Missing the HREF Attribute set to the URL of the code academy website
Which element is the parent of the <p> My paragraph </p>
The dig tag because it is inside of the div element
Based on the code provided, why will the info from the first input element not be send to the /processing.html when the form is submitted <form action="/processing.html" method="GET"> <input type="text" id="username"> <input type="submit" value="submit"> </form>
The first input element is missing the name attribute which omits the inputs info
What is the code provided not create a working data list element
The input above does not have a list attribute to associate itself with the datalist
Why does the following code fail to display an image ? <img https://www.example.com/laptop.jpg />
The src attribute is missing and must be set equal to the image URL, enclosed in double quotation marks
Why is the code below incorrect <figcaption> <img src="sunset.jpg"> <figure>blah blah </figure> </figcaption>
The use of figure in FIG caption needs to be reversed
What does the following code do <tr> <td colspan="2"> Out of Town </td> <td>Back in Town</td> </tr>
They create a cell that will span two columns in a cell that was span a single column
Why should the document type declaration be included in all HTML documents?
To specify the HTML standard being used in the content
Which of the following HTML tags is deprecated from HTML5?
U
What is an appropriate scenario for using an important element with the type set to radio
When you want to present users with multiple options and have them choose only one