Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

HTML AND CSS EXAM 2025 PRACTICE QUESTIONS AND CORRECT ANSWERS/ LATEST 2025

Document preview thumbnail
Preview 2 out of 5 pages

HTML AND CSS EXAM 2025 PRACTICE QUESTIONS AND CORRECT ANSWERS/ LATEST 2025

Content preview

HTML AND CSS EXAM 2025 PRACTICE QUESTIONS
AND CORRECT ANSWERS/ LATEST 2025
What does html stand for? - (answer)Hyper Text Markup Language



Provide an example of an an HTML 5 tag and the purpose of the tag -
(answer)<footer></footer> , it simplified <div id= "footer"> which most coders
were using anyways, and it provided a specific close tag



What is the purpose of an HTML comment? - (answer)For the coder to be able to
write notes to themselves of other coders explaining their code. The browser
does not show these comments to the viewer of the site.



Before CSS how were HTML tags formatted? Where was the formatting applied? -
(answer)HTML tags were formatted using attributes which were placed in the
open tag

EX: <p color="red">text</p>



In what section do you "build" your divs (apply html)? - (answer)<body> </body>



What do you include in the html tag to let the browser know that you are writing
in version 5 of HTML? - (answer)<!DOCTYPE html>



What is the tag for an image? - (answer)<img>

, What is the tag for a link? - (answer)<a> </a>



What three tags are required in every .html document? - (answer)<html>,
<head>, and <body>.



Show a start tag and end tag in html (use paragraph for an example) -
(answer)<p> and </p>



<span class="green"> Text Here </span> is a rule for: - (answer)Text



h1, a, or nav (header, footer) represents a rule for (an): - (answer)Already pre
defined tag on the web (web knows them)



<span class="green">Text Here</span> is a rule which can be applied how many
times? - (answer)Unlimited



<div id="text"> Links </div> is a rule which can be applied how many times? -
(answer)Once



<div id="text">Hello World</div> is a rule for (a)... - (answer)div/box



Provide the CSS for moving the div "image" away from the div "content" by 20
pixels THEN, move the text away from the edge of the "content" div by 15 pixels.
Place these rules all within in the "content" tag. - (answer)#content

Document information

Uploaded on
February 15, 2025
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
Free
Download

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
TESTHUBB
4.5
(2)
Sold
574
Followers
12
Items
2431
Last sold
1 week 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