WorksheetsTest 6 Review (Coding)
Total questions: 28
Worksheet time: 14mins
Which part of a URL specifies the protocol used to access a resource?
Domain
Path
Protocol
Query
What is the main difference between an absolute address and a relative address in web development?
Absolute addresses are shorter than relative addresses.
Absolute addresses include the full URL, while relative addresses are based on the current document's location.
Relative addresses are used for external links only.
Absolute addresses are used only in HTML.
In HTML, which element is used to create a hyperlink?
Which CSS selector would you use to apply styles to all `
` elements within a `
`div p`
`.content p`
`#content p`
`p.content`
What role does the HTTP protocol play in networking?
It defines the structure of web pages.
It is used to transfer web pages from a server to a client.
It secures data transmission over the internet.
It is used to style web pages.
In a URL, what does the domain represent?
The specific file being requested
The server where the resource is hosted
The protocol used
The path to the resource
Which of the following is an example of a relative address?
`http://www.example.com/about`
`/about`
`www.example.com/about`
`https://example.com`
What is the purpose of the `
` element in an HTML document?To display the main content of the page
To contain metadata and links to scripts and stylesheets
To create hyperlinks
To define the footer of the page
Which CSS property is used to change the text color of an element?
`font-size`
`color`
`background-color`
`text-align`
How does the HTTPS protocol differ from HTTP?
HTTPS is faster than HTTP.
HTTPS encrypts data for secure transmission.
HTTPS is used for email services.
HTTPS is a newer version of HTTP with no other differences.
In a URL, what does the path specify?
The protocol used
The domain name
The specific resource or file on the server
The query parameters
Which HTML element is used to define the largest heading?
`
`
`
`
`
`
`What is the function of the `class` attribute in HTML?
To define the type of an element
To apply CSS styles to elements
To create hyperlinks
To specify the language of the document
Which CSS selector would you use to style an element with the id "main"?
`.main`
`#main`
`main`
`*main`
What is the main purpose of using CSS in web development?
To structure the content of web pages
To add interactivity to web pages
To style and layout web pages
To store data on the server
"/images/portrait.png" is an example of a(n) _______ url.
relative
absolute
URL stands for
Uniform Resource Locator
Uniform Record Locator
Uniform Random Locator
Uniform Response Locator
Hey Mia and Rohan! If I told you that http://www.google.com is a magical portal to the internet, what would you call it?
URL
IP address
Browser
Application
If I told you that http://www.google.com is a magical portal to the internet, what would you call it?
URL
IP address
Browser
Application
http://www.google.com is an example of what?
URL
IP address
Browser
Application
Taking someone elses work and making it your own is called _____________.
Fair Use
Plagiarism
Copy right
Editing
What does WWW stand for?
World Wide Web
Wide World Web
Web World Wide
We Will Wait
Internet and World Wide Web mean the exact same thing.
False
True
