2026 FULL SOLUTION PRACTICE
◉ JavaScript. Answer: Programming language for webpage
interactivity.
◉ Where are websites displayed?. Answer: browsers
◉ Website Requirements. Answer: First page of website is the
index.html
when saving pages they must be in all lowercase
◉ Index.html. Answer: First page of a website, standard naming.
◉ what is on a website. Answer: design (the formatting), first page is
index.html, must be saved in lowercase, images, text, links, videos,
pictures
◉ What kind of tags does HTML use?. Answer: Elements: HTML
components enclosed in brackets, e.g., <html>.
◉ What tags don't have closing tags?. Answer: br and hr
,◉ Opening Tag. Answer: Starts an HTML element, usually has a
closing tag.
◉ Closing Tag. Answer: Ends an HTML element, e.g., </html>.
◉ Self-closing Tags. Answer: Tags without closing counterparts, e.g.,
<br>.
◉ br. Answer: means break, puts space between lines
◉ Why use brackets?. Answer: help identify the structure of where
everything is located
◉ <DOCTYPE>. Answer: First tag of any HTML document.
◉ <html>. Answer: Second and last tag of any HTML document.
◉ What are the different element names?. Answer: Head, link,
image, structural, presentational
◉ Head Element. Answer: Contains title and metadata for the
webpage.
,holds all the key words, head and title tags aren't visible to viewer
unless they right click, title and head tag should always be on every
page
◉ Title Tag. Answer: Displays the webpage title in the browser tab.
ex: <head>
<title>HTML head tag</title>
</head>
◉ Link Elements. Answer: Creates hyperlinks to navigate between
pages. Link brings a page to you if you click on it.
◉ Hyperlink. Answer: Clickable link that beings another page to you.
blue= hyperlink is connected but not yet clicked on
purple= hyperlink has been viewed and clicked on
◉ 2 types of URLs. Answer: absolute and relative
◉ Absolute URL. Answer: Includes full web address, e.g., http://.
takes you away from the website you are on
, ◉ Relative URL. Answer: Path to a page within the same website.
Stay on the website you created.
◉ Image Elements. Answer: SRC
ALT
Width
Height
(can use pixels instead of width and height)
Displays images on a webpage using <img> tag.
◉ SRC Attribute. Answer: Specifies the image source path in <img>.
(source) contains the path that is required
◉ ALT Attribute. Answer: Describes the image for accessibility
purposes.
◉ Width and Height Attributes. Answer: Define image dimensions in
pixels.
◉ Image Formats. Answer: Types include BMP, JPEG, PNG, SVG, GIF.
◉ Body Tag. Answer: Contains the visible content of the webpage.
(title tag is not viewable)