Which statements are correct on HTTP GET and POST?
Please select none ore more correct alternatives.
Answer
GETRequests data from a specified resource and POST submits data to be processed to a specified resource.
Which statements are correct on HTTP GET?
Please select none ore more correct alternatives.
Which statements are correct on HTTP GET?
Please select none ore more correct alternatives.
Answer
GET requests have length restrictions and GET requests should be used only to retrieve data.
Which statements are correct on HTTP POST?
Please select none ore more correct alternatives.
Answer
POST requests are never cached, POST requests do not remain in the browser history, POST requests cannot be bookmarked, POST requests have no restrictions on data length.
Which statements are correct on HTTP POST?
Please select none ore more correct alternatives.
Answer
POST requests do not remain in the browser history and POST requests have no restrictions on data length.
Which are valid HTTP requests?
Please select none ore more correct alternatives.
Which statements are correct?
Please select none ore more correct alternatives.
Answer
GET Requests data from a specified resource. POST Submits data to be processed to a specified resource. HEAD Is the same as GET but only returns HTTP headers and no document body. PUT Uploads a representation of the specified URI. DELETE Deletes the specified resource. OPTIONS Returns the HTTP methods that the server supports. CONNECT Converts the request connection to a transparent TCP/IP tunnel.
What does the OPTIONS HTTP method do?
Please select exactly one correct alternative.
Answer
The HTTP OPTIONS method returns the HTTP methods that the server supports.
Which are valid input field restrictions in HTML?
Please select none ore more correct alternatives.
Which are valid input field restrictions in HTML?
Please select none ore more correct alternatives.
Which are valid input field restrictions in HTML?
Please select none ore more correct alternatives.
Which are valid input field restrictions in HTML?
Please select none ore more correct alternatives.
What does step mean as an input field restrictions in HTML?
Please select exactly one correct alternative.
What value is valid considering the pattern "/\d{3,4}/g"?
Please select exactly one correct alternative.
Answer
The expression checks for number strings of 3 to 4 digits.
Does min="0" max="100" step="10" work without min?
Please select exactly one correct alternative.
Answer
min="0" max="100" step="10" does not work without defining min.
What are valid input types for input fields in HTML?
Please select none ore more correct alternatives.
Answer
date, color, range, month, week, time, datetime, datetime-local, datetime-local, email, search, tel and url Are valid input types.
What is the difference between datetime and datetime-local input types in HTML?
Please select exactly one correct alternative.
Answer
The datetime-local input type allows the user to select a date and time (no time zone).
What does autocomplete do?
Please select exactly one correct alternative.
Answer
When autocomplete is on, the browser automatically complete values based on values that the user has entered before.
What does the novalidate attribute do?
Please select exactly one correct alternative.
Answer
The novalidate attribute is a <form> attribute. When present, novalidate specifies that form data should not be validated when submitted.
Conside the pattern "[A-Za-z]{3}" for an input field. Which values are valid according to thos pattern?
Please select none ore more correct alternatives.
What does HTML stand for?
Please select exactly one correct alternative.
Answer
HTML stands for Hyper Text Markup Language.
Which is the correct HTML tag for the largest heading in HTML?
Please select exactly one correct alternative.
Answer
<h1> is the largest header available. <h6> is much smaller. The <head> tag contains the header text of your web page and is not displayed as content. <heading> and <head> are not valid tags.
What does the body part (between <body> and </body>) of an HTML page contain?
Please select exactly one correct alternative.
Answer
The body part (between <body> and </body>) of an HTML page contains the visible part of the HTML document.
Which of the following is NOT a valid type attribute in <input type="...">?
Please select exactly one correct alternative.
Answer
Please see the answer above.
What will happen when the user clicks the RESET button inside the form "two" element?
Consider the following HTML5-code.
<body> <form id="one"> <input name="firstname" type="text" /> <input name="lastname" type="text" /> </form> <form id="two"> <input name="address" type="text" /> <input name="city" type="text" /> <input name="RESET" type="reset" form="one" /> </form> </body>What will happen when the user clicks the RESET button inside the form "two" element?
Please select exactly one correct alternative.
Answer
Please see the answer above.
With which of the following elements can you submit a <form> element?
Please select exactly one correct alternative.
Answer
Please see the answer above.
With which HTML code can you accomplish the goal?
Consider the following HTML:
<body> <select> <option value="E">One</option> <option value="T">Two</option> <option value="D">Three</option> <option value="V">Four</option> </select> </body>With which HTML code can you accomplish that option "Two" is the initial chosen value when this drop-down list is displayed?
Please select exactly one correct alternative.
Answer
Please see the answer above.
Is the following code valid?
<h1>This is a chapter</h1> Lorem ipsum dolor sit amet, consectetur adipiscing elit. <br/> Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Please select exactly one correct alternative.
Answer
Yes, <br/> is an empty element without a closing tag. If you, however, want to write strict HTML code, you should close it with </br>.
What is the alt attribute used for, e.g. in an image (img) tag?
Please select exactly one correct alternative.
Answer
The alt attribute specifies an alternative text to be used, when an HTML element cannot be displayed.
Which of the following alternatives makes your text bold?
Please select none ore more correct alternatives.
Answer
"boldest" Is not a valid value for font-weight. Both "strong" and "em" adds so called "semantic importance" to the text. This is not specifically a style, but means that the text is "important".
In HTML, what is the difference between lists using <ul> and lists using <ol>?
Please select none ore more correct alternatives.
Which of the following is NOT a value of the draggable attribute?
Please select exactly one correct alternative.
Which of the following events is based on the drop target?
Please select exactly one correct alternative.
Between which events can you use the DataTransfer object to pass data?
Please select exactly one correct alternative.
Which of the following alternatives are correct?
Please select none ore more correct alternatives.
Answer
When using quotes in an attributes' text, you need to alternate single and double quotes to begin and end your (sub)strings.
What is the id attribute used for in an element?
Please select exactly one correct alternative.
Answer
id Specifies a unique identifier for an element. The "name" attribute, however, is not assumed to be unique.
What is the smallest heading element used in HTML?
Please select exactly one correct alternative.
Which of the following statements are correct on the HTML <head< element?
Please select none ore more correct alternatives.
What can you use the <pre> element for?
Please select none ore more correct alternatives.
Answer
You use the <pre> element to display text in a fixed-width font and preserve spaces and line breaks.
To set your background to red, which of the following code fragments can you use in your HTML5 web page?
Please select exactly one correct alternative.
Answer
In HTML%, you have to use <body style="background-color:red">. In HTML (not HTML5), you can use the older construction: <body bgcolor="#ff0000">.
What does the statement <!DOCTYPE html> mean?
Please select none ore more correct alternatives.
What is the difference between italics (<i>) and emphasized (<em>) text?
Please select exactly one correct alternative.
Answer
<em> defines emphasized text, with added semantic importance. Both <i> and <em>, however, display text in italics.
What does "semantic importance" mean in the context of HTML?
Please select exactly one correct alternative.
Answer
Semantic HTML is the use of HTML markup to reinforce the semantics, or meaning, of the information in webpages rather than merely to define its presentation or look.
How do you put a comment in HTML?
Please select exactly one correct alternative.
In what frame is the URL opened using the following code fragment?
Consider the following HTML5-code.
<a href="http://hansrontheweb.blogspot.nl/" target="_new">HansR on the Web Blog</a>In what frame is the URL opened using this code fragment?
Please select exactly one correct alternative.
Answer
The URL is opened in a frame named "_new". However, since this looks like one of the standard target frame types (_blank, _self, _parent, _top), this is bad practice. If you want your URL to open in a frame with a name, you should give this frame a well distinguished name.
Why should you always specify a width and height when using an <img> element?
Please select exactly one correct alternative.
Answer
If width and height are not specified, the page will flicker while the image loads. This is because the page will finalize it's layout after loading the image. Only then, the width and height are known to the browser.
What are Image Maps?
Please select exactly one correct alternative.
What if the difference between cellpadding and cellspacing?
Please select exactly one correct alternative.
Answer
Cellspacing defines the distance between adjacent cells. Cellpadding defines the distance between the cellborder and it's contents.
Geen opmerkingen:
Een reactie posten