You are including a blog post on your web page. You decide to place the content inside an
<article>
tag. What are the advantages of using an<article>
tag instead of a<div>
tag in the scenario? Select all that apply.It allows the browser to render the element faster.
It allows search engines to better rank your pages.
It better describes the meaning of the element to accessibility software
What are the tags that define the basic structure of an HTML page and which order is semantically correct?
<header>, <details>, <footer>
<h1>, <body>, <footer>
<header>, <main>, <footer>
<header>, <body>, <main>
Which of the following meta tags are recommended for modern web pages? Select all that apply.
Author
Description
Keywords
Viewport
What are the benefits of using the Open Graph Protocol? Select all that apply.
Provides social media platforms with the correct information for your page.
Allows developers to inform social media platforms what type of content is being linked for a given URL.
Allows developers to set a preview image to display on social media platforms.
You are tasked with building a login form for a website. The project manager has asked what type of validation you recommend implementing for both security and a good user experience: client-side validation or server-side validation. Which do you recommend?
Recommend only client-side validation
Recommend only server-side validation
Recommend both client-side and server-side validation
You've added a form element to your HTML document and set the value of the method attribute to POST. What is the other valid HTTP method for form submission?
PUT
DELETE
GET
Your web browser is currently at the URL
https://meta.com/hello
What address will the following form submit to?
<form action="login">
You are creating a landing page for a local business that includes a video player. The specification is that the video automatically plays, can't be paused and it loops. What are the correct statements for this implementation? Select all that apply.
Set several source elements with distinct types
Setting the autoplay attribute
Setting the loop attribute
Setting the controls attribute
You've been asked to embed another web page within your web page using an iframe. Which of the following tasks should be done to maintain security?
Validate that the web page is a trusted source
Apply the allow attribute to the iframe
Apply sandboxing to the iframe
What are the main advantages of using the canvas element to draw content on your pages? Select all that apply.
It requires less code than HTML sectional tags
It provides a good experience for rendering HTML elements.
It’s better for thousands of objects and precise manipulation
It’s well suited for graphic intensive games.