100% Zufriedenheitsgarantie Sofort verfügbar nach Zahlung Sowohl online als auch als PDF Du bist an nichts gebunden 4.2 TrustPilot
logo-home
Prüfung

HTML & CSS multiple choice (code academy) Exam -Questions with Correct Answers/Verified

Bewertung
-
Verkauft
-
seiten
18
Klasse
A+
Hochgeladen auf
27-10-2024
geschrieben in
2024/2025

HTML & CSS multiple choice (code academy) Exam -Questions with Correct Answers/Verified

Hochschule
HTML & CSS
Kurs
HTML & CSS










Ups! Dein Dokument kann gerade nicht geladen werden. Versuch es erneut oder kontaktiere den Support.

Schule, Studium & Fach

Hochschule
HTML & CSS
Kurs
HTML & CSS

Dokument Information

Hochgeladen auf
27. oktober 2024
Anzahl der Seiten
18
geschrieben in
2024/2025
Typ
Prüfung
Enthält
Fragen & Antworten

Themen

Inhaltsvorschau

HTML & CSS multiple choice (code academy) Exam -Questions with
Correct Answers/Verified
Why should the document type declaration be included in all HTML documents? - ✔✔To
specify the HTML standard being used in the document.



Which of the following is the current HTML standard? - ✔✔HTML5



The contents of the <title> tag will appear where in a modern browser? - ✔✔The browser's
tab or title bar



All HTML code must be nested within which of the following tags? - ✔✔<html>


Which of the following tags would contain the HTML for a web page's visible content? -
✔✔<body>


The following HTML code should only exist within which one of the following tags?

<title>Codecademy</title> - ✔✔<head>


Which of the following tags instructs the browser to expect a well-formed HTML document?
- ✔✔<!DOCTYPE html>



Which of the following tags contains metadata about the webpage? - ✔✔<head>



The acronym "HTML" stands for which of the following? - ✔✔HyperText Markup Language


In the following code, the empty line of space between the heading and the first paragraph
is supposed to increase the vertical space between them in the browser, but fails to do so.
Why?



<a href="https://www.codecademy.com/">Codecademy</a> - ✔✔In an HTML file,
whitespace does not affect the layout of a webpage because the browser ignores it.

,Which of the following best describes why HTML comments are important to web
development? - ✔✔Comments clarify code and makes code easier to understand for other
developers


The following code results in no visible output in the browser. Why?
<ol>

</ol> - ✔✔List items must be added to list



How many different heading elements does HTML support? - ✔✔6


Which of the following is the best way of improving the code below?

<img src="https://www.codecademy.com/laptop.jpg" /> - ✔✔Include an alt attribute and a
description of the image.


The following code is supposed to display an image, but fails to do so. Why?

<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.



What are the two components of HTML attributes? - ✔✔Name, Value



Which of the following tags can be used to add a paragraph to a web page? - ✔✔<p>


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 set to _blank


The following code is supposed to to create a link to another web page, but fails to do so.
Why?

, <a>Codecademy</a> - ✔✔The <a> element is missing the href attribute set to the URL of
the Code academy website.


How would the output of the code below change if <ul> and </ul> were changed to <ol> and
</ol>, respectively?
<ul>
<li>Lorem</li>
<li>Ipsum</li>
<li>Horribilis</li>

</ul> - ✔✔Bullet points in the output would change to numbers


According to the W3C recommendation, what's the appropriate way of indenting nested
HTML elements? - ✔✔2 spaces


Which of the following elements will directly affect the vertical spacing in an HTML layout? -
✔✔<br />


: Separating HTML and CSS into their own files helps accomplish which of the following? -
✔✔Separating HTML structure from CSS style to make code easier to read and reuse.


You wish to link a CSS file called main.css to an HTML file. Which of the following lines of
code correctly links the HTML file and the stylesheet?
// 1
<link href="main.css" type="stylesheet" rel="text/css" />
// 2
<link href="main.css" type="stylesheet" rel="css/text" />
// 3
<link href="main.css" type="text/css" rel="stylesheet" />
// 4

<link href="main.css" type="css/text" rel="stylesheet" /> - ✔✔3

Lerne den Verkäufer kennen

Seller avatar
Bewertungen des Ansehens basieren auf der Anzahl der Dokumente, die ein Verkäufer gegen eine Gebühr verkauft hat, und den Bewertungen, die er für diese Dokumente erhalten hat. Es gibt drei Stufen: Bronze, Silber und Gold. Je besser das Ansehen eines Verkäufers ist, desto mehr kannst du dich auf die Qualität der Arbeiten verlassen.
ExamsCollection Liberty University
Folgen Sie müssen sich einloggen, um Studenten oder Kursen zu folgen.
Verkauft
115
Mitglied seit
2 Jahren
Anzahl der Follower
9
Dokumente
22111
Zuletzt verkauft
20 Jahren vor
EXAMS PAGE

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 with ExamsCollection!✅✅✅

3,8

34 rezensionen

5
18
4
3
3
7
2
0
1
6

Kürzlich von dir angesehen.

Warum sich Studierende für Stuvia entscheiden

on Mitstudent*innen erstellt, durch Bewertungen verifiziert

Geschrieben von Student*innen, die bestanden haben und bewertet von anderen, die diese Studiendokumente verwendet haben.

Nicht zufrieden? Wähle ein anderes Dokument

Kein Problem! Du kannst direkt ein anderes Dokument wählen, das besser zu dem passt, was du suchst.

Bezahle wie du möchtest, fange sofort an zu lernen

Kein Abonnement, keine Verpflichtungen. Bezahle wie gewohnt per Kreditkarte oder Sofort und lade dein PDF-Dokument sofort herunter.

Student with book image

“Gekauft, heruntergeladen und bestanden. So einfach kann es sein.”

Alisha Student

Häufig gestellte Fragen