• 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 3 out of 27 pages
Exam (elaborations)

HTML Basics Exam Study Guide Solutions

Document preview thumbnail
Preview 3 out of 27 pages

HTML Basics Exam Study Guide Solutions Elements - ANSWER-Individual sections of code that, together, make up an html document. Each element consists of an opening tag, closing tag, and content between the tags. Ex) pThis is one element/p *Some elements do not have closing tags (like image elements) *Elements can also include other elements inside them. This is called nesting. Tags - ANSWER-Tags are basic labels that define and separate parts of your markup into elements. They are comprised of a keyword surrounded by angle brackets . Content goes between two tags and the closing one is Copyright ©EMILLYCHARLOTE 2025 ACADEMIC YEAR, ALL RIGHTS RESERVED. Page 2/27 prefixed with a slash (Note: there are some self-closing HTML tags, like image tags). Ex) tag attribute='value'content/tag keyword Heading Element - ANSWER-Designates page headings and sub- headings, allowing you to break up the document into logical sections. There are 6 levels of them (h1-h6). h1 is for the main heading of the page. h1 will have the largest text size and h6 will have the smallest. Opening tag: h1 Closing tag: /h1 Paragraph Element - ANSWER-This tag designates paragraphs. It often has other elements nested inside of it, such as img/, a, strong and em. Opening tag: p Closing tag: /p Copyright ©EMILLYCHARLOTE 2025 ACADEMIC YEAR, ALL RIGHTS RESERVED. Page 3/27 Hyperlink Element (a element) - ANSWER-Allows for the creation of linked text and images. It uses the "href" attribute, which equals the website address (URL) being linked to. You also choose the link text that users see on the page (the text you add between the opening and closing tags). Opening tag: a href="attribute value" Between tags: link text Closing tag: /a Ex) a href=" Image Element - ANSWER-Used to add images to web pages. Inside the opening tag is the "src" attribute, which gives the address (URL) of the image. Copyright ©EMILLYCHARLOTE 2025 ACADEMIC YEAR, ALL RIGHTS RESERVED. Page 4/27 Every image on the web has its own image URL. Simply right-click on an image and choose "Copy image URL." Paste that URL in quotes after src= to insert with your img tag. Opening tag: img src="image address"/ Closing tag: There isn't one! The / is used at the end of the opening tag to close it. Ex) img src=""/

Content preview

HTML Basics Exam Study Guide
Solutions


Elements - ANSWER✔✔-Individual sections of code that, together, make

up an html document. Each element consists of an opening tag, closing tag,

and content between the tags.




Ex) <p>This is one element</p>




*Some elements do not have closing tags (like image elements)


*Elements can also include other elements inside them. This is called

nesting.


Tags - ANSWER✔✔-Tags are basic labels that define and separate parts of

your markup into elements. They are comprised of a keyword surrounded

by angle brackets <>. Content goes between two tags and the closing one is



Copyright ©EMILLYCHARLOTE 2025 ACADEMIC YEAR, ALL RIGHTS RESERVED. Page 1/27

,prefixed with a slash (Note: there are some self-closing HTML tags, like

image tags).




Ex)


<tag attribute='value'>content</tag keyword>


Heading Element - ANSWER✔✔-Designates page headings and sub-

headings, allowing you to break up the document into logical sections.

There are 6 levels of them (h1-h6). h1 is for the main heading of the page.

h1 will have the largest text size and h6 will have the smallest.


Opening tag: <h1>


Closing tag: </h1>


Paragraph Element - ANSWER✔✔-This tag designates paragraphs. It often

has other elements nested inside of it, such as <img/>, <a>, <strong> and

<em>.


Opening tag: <p>


Closing tag: </p>


Copyright ©EMILLYCHARLOTE 2025 ACADEMIC YEAR, ALL RIGHTS RESERVED. Page 2/27

, Hyperlink Element (a element) - ANSWER✔✔-Allows for the creation of

linked text and images. It uses the "href" attribute, which equals the

website address (URL) being linked to. You also choose the link text that

users see on the page (the text you add between the opening and closing

tags).




Opening tag: <a href="attribute value">


Between tags: link text


Closing tag: </a>




Ex) <a href="https://www.google.com/">Search</a>


Image Element - ANSWER✔✔-Used to add images to web pages. Inside

the opening tag is the "src" attribute, which gives the address (URL) of the

image.




Copyright ©EMILLYCHARLOTE 2025 ACADEMIC YEAR, ALL RIGHTS RESERVED. Page 3/27

Document information

Uploaded on
November 23, 2024
Number of pages
27
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

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.
EmillyCharlotte
3.5
(33)
Sold
151
Followers
5
Items
12350
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