100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

ITS HTML and CSS Practice Exam 1 Testing – Gmetrix UPDATED ACTUAL Exam Questions and CORRECT Answers

Rating
-
Sold
-
Pages
11
Grade
A+
Uploaded on
07-05-2025
Written in
2024/2025

ITS HTML and CSS Practice Exam 1 Testing – Gmetrix UPDATED ACTUAL Exam Questions and CORRECT Answers 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. - CORRECT ANSWER a {text-decoration: none;} a:link {color: steelblue;} a:visited {color: orange;} </style> text-align margin: auto align-items - CORRECT ANSWER - <style>

Show more Read less
Institution
GMETRIX
Course
GMETRIX









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
GMETRIX
Course
GMETRIX

Document information

Uploaded on
May 7, 2025
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

MGRADES EXAMS


ITS HTML and CSS Practice Exam 1
Testing – Gmetrix UPDATED ACTUAL
Exam Questions and CORRECT Answers
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. - CORRECT ANSWER - <style>
a {text-decoration: none;}
a:link {color: steelblue;}
a:visited {color: orange;}
</style>


text-align
margin: auto

align-items - CORRECT ANSWER - Aligns 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>

, MGRADES EXAMS


<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 - CORRECT ANSWER - The 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 - CORRECT ANSWER - The 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. -
CORRECT ANSWER - .feature {
.height: auto;
.max-height: 200px;
}


For each statement regarding best practices on creating style sheets using CSS, select Yes if the
statement is true and No if the statement is false. - CORRECT ANSWER - Reusing code
from one part of a style sheet to another helps to minimize syntax errors - YES
Setting the body element to have a font of Segoe UI will ensure every device that views the
website will see that font. - NO

Get to know the seller

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.
MGRADES Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1072
Member since
1 year
Number of followers
102
Documents
68976
Last sold
12 hours ago
MGRADES (Stanford Top Brains)

Welcome to MGRADES Exams, practices and Study materials Just think of me as the plug you will refer to your friends Me and my team will always make sure you get the best value from the exams markets. I offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3.8

170 reviews

5
73
4
30
3
45
2
8
1
14

Recently viewed by you

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

Frequently asked questions