100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
HTML CSS - Updated for $7.99   Add to cart

Exam (elaborations)

HTML CSS - Updated for

 1 view  0 purchase
  • Course
  • Institution

HTML CSS - Updated for

Preview 3 out of 17  pages

  • June 17, 2024
  • 17
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
HTML/CSS - Updated for 2023-2024
You are designing a web page for your company. The page must be responsive so that it can
be viewed on desktop browsers & mobile devices.
1. SmallLogo.png
2. max-width
3. NormalLogo.png
(IN ORDER)
3 multiple choice options




We need to have our navigation, then state our purpose, include a picture then our $ back
policy followed by a footer. How should the code be displayed to make that happen?
1. <nav>
2. <article> followed by Our Purpose
3. <article> followed by <figure> and the image
4. <article> with Our $back Guarantee
5. <footer>




What is NOT true about a relative link?
requires that you use a protocol and server path
3 multiple choice options




You can link to a document in the subdirectory of the current webpage by specifying only the
subdirectory name and the filename
True
1 multiple choice option




You can use a relative link to reference images files from a repository on a different server
True
1 multiple choice option




What is true about absolute links?
a hyperlink containing a full URL, (need absolutely everything) which includes all the
information needed to find a particular site, page or document or other addressable items on
the Internet.

,3 multiple choice options




You are creating a page on your business website to display your company photo. You need
to make sure that browsers display the text company photo before the photo is downloaded.
How should you write the markup?<____ ____= "photo.png" ____=<"Company
<img src="photo.png" alt=<"Company




Choose the correct example of how you format an absolute link:
https:/ /www.dogrus.com/pets.html
3 multiple choice options




You want to complete the pseudo class for link elements so that the links appear red when
the page loads, green when the link is clicked, orange when the cursor moves over the link,
and blue if the link was clicked previously.How should you complete the code?
a: link {;color: red}
a: visited {;color: blue}
a: hover {;color: orange}
a: active {;color: green}
3 multiple choice options




You are designing a website for Dogs R Us
You write the following markup.
<! DOCTYPE html>
<html>
<head>
<title>Dogs R Us</title>
</head>
<body>
<p>Welcome to Dogs R Us</p>
</body>
</html>
What style will be used to render the code?
The browser default style will be used.
3 multiple choice options




The external stylesheet named mystyles.css contains the following three rules:
h1 {color: blue;}
h2 {color: purple;}

, p {color: grey;}

The head section contains the following markup:
<link rel="stylesheet"
type="text/css"
href="mystyles.css">
<style>
h1 {color: maroon;}
h2 {color: blue;}
p {color: black;}
</style>

The following elements appear in the body of the webpage:
<h1 style= "color: black;">
AdventureWorks Presents /h1>
<h2>Rock Climbing 101</h2>
<p style= "color: blue;">Coming soon!</p>
<h1>Awards</h1>
<p>Certificates will be awarded in June.</p>

Select Yes if true. Otherwise, select No.
"Certificates will be awarded in June" Is displayed in grey. No."
Coming Soon!" is displayed in blue. Yes
."Awards" is displayed in maroon. Yes
."Rock Climbing 101" is displayed in purple. No.
3 multiple choice options




Analyze the following CSS for a webpage:
<!Doctype html>
<html>
<head>
<style>
p{
background-color: blue;
}
.light{
background-color: yellow;
}
.light p{
background-color: green;
}
</style>
</head>
<body>
<div class="light" style= "background-color: pink">
<p>This is some sample text </p>

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Hkane. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $7.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

84669 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$7.99
  • (0)
  Add to cart