NEW
Font size
WorksheetsWebDev (HTML - CSS - JS - React) Test 1
Total questions: 10
Worksheet time: 5mins
The three core technologies that run the web are:
HTML
CSS
JS
HTML
CSS
React
HTML
WWW
CSS
DOCTYPE
HTML
BODY
Structure of a Web Page (HTML) consists of:
html
head
body
JavaScript
DOCTYPE
html
head
body
html
h1
p
img
body
h1
p
img
What goes into the <head> tag?
Metadata
Content
What goes into the <body> tag?
Content
Metadata
<!DOCTYPE html> signals to the web browser that we are working with
HTML
HTML5
HTML4
HTML3
For example, an <h1> element consists of opening and closing tags. Everything placed between these tags is considered part of the element. Select the properly made tag.
</h1>Heading<h1>
<h1/>Heading<h1>
<h1>Heading</h1>
<h1>Heading<h1/>
What are the two main attributes of the <img> tag?
href & alt
src & alt
href & target
src & width
What are the two main attributes of the <a> tag?
href & alt
src & alt
href & target
src & width
What are the two types of paths in src referencing?
Relative Path & Absolute Path
Absolute Path & Root Path
Root Path & Relative Path
Given the project structure shown in the image, how would you correctly reference the file nick.jpg located in the images folder within an <img> tag inside index.html?
<img src="./nick.jpg" alt="Profile photo of Nick from the movie Nick Life">
<img src="./images/nick.jpg" alt="Profile photo of Nick from the movie Nick Life">
<img src="/nick.jpg" alt="Profile photo of Nick from the movie Nick Life">
<img src="../images/nick.jpg" alt="Profile photo of Nick from the movie Nick Life">
