• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

ITS HTML and CSS Practice Exam 1 Testing - GMetrix

Document preview thumbnail
Preview 2 out of 11 pages

ITS HTML and CSS Practice Exam 1 Testing - GMetrix To set the hyperlinks to not be underlined, the text-decoration property needs to be for none for all "a" tags. To set regular, unvisited links to be steelblue, the a:link color property needs to be set to steelblue (you can do this with the "a" tag as well, but you will want to be aware that a:link is a legitimate pseudo-class). To set visited links to orange, the a:visited color property needs to be set to orange. - ANSWERSstyle a {text-decoration: none;} a:link {color: steelblue;} a:visited {color: orange;} /style text-align margin: auto align-items - ANSWERSAligns text within an element- text-align Center aligns items with a div tag- margin: auto Aligns content within a flexible layout- align-items You have created an external style sheet called with the following code: body {color: steelblue; font-size: 12pt;} p {font-family: Tahoma, Arial, san-serif;} h2 {font-family: Georgia, serif; font-size: 16pt;} You have a webpage with the following HTML code:

Content preview

ITS HTML and CSS Practice Exam 1
Testing - GMetrix

To set the hyperlinks to not be underlined, the text-decoration property needs to be for none
for all "a" tags. To set regular, unvisited links to be steelblue, the a:link color property needs to
be set to steelblue (you can do this with the "a" tag as well, but you will want to be aware that
a:link is a legitimate pseudo-class). To set visited links to orange, the a:visited color property
needs to be set to orange. - ANSWERS<style>

a {text-decoration: none;}

a:link {color: steelblue;}

a:visited {color: orange;}

</style>



text-align

margin: auto

align-items - ANSWERSAligns text within an element- text-align

Center aligns items with a <div> tag- margin: auto

Aligns content within a flexible layout- align-items



You have created an external style sheet called main.css with the following code:

body {color: steelblue;

font-size: 12pt;}

p {font-family: Tahoma, Arial, san-serif;}

h2 {font-family: Georgia, serif;

font-size: 16pt;}

You have a webpage with the following HTML code:

, <html>

<head>

<link rel="stylesheet" type="type/css" href="main.css" />

<title>Coming Soon</title>

</head>

<body style="font-family: Georgia, san-serif;">

<h2 style="color: orange; font-size: 18pt;">Coming soon!</h2>

<p>Watch this ar - ANSWERSThe heading "Coming Soon" will have a font size of 16 points.- NO

The paragraph will have a color of steelblue.- YES

The paragraph will have the Georgia font.- NO



External

Inline

Internal - ANSWERSThe body tag needs to have the Segoe UI font throughout the entire
website. - External

An address tag at the bottom of a new items page needs to have the color of dark magenta. No
other address tags need formatting. - Inline

A sales page needs to have a light gray background, and, as a result, its text needs to be in dark
gray. - Internal



You are a member of a web development team building a style sheet. You want to set, within a
feature class, a height that adjusts to the length of a page, but is no taller than 200 pixels. -
ANSWERS.feature {

.height: auto;

.max-height: 200px;

}

Document information

Uploaded on
March 27, 2025
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$8.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Bensuda
3.7
(168)
Sold
920
Followers
445
Items
23173
Last sold
1 day ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions