You are developing application web form by using HTML5 and JavaScript.
You need to prevent users from submitting form data more than once.
Which code segment should you use?
Option A
Option A
Option B
Option B
Option C
Option C
Option D
Option D
Correct Answer
A
Explanation Explanation: * this, in disable(this), refers to the clicked button. * The disabled attribute is a boolean attribute. When present, it specifies that the element should be disabled. A disabled input element is unusable and un-clickable. The disabled attribute can be set to keep a user from using the element until some other condition has been met (like selecting a checkbox, etc.). Then, a JavaScript could remove the disabled value, and make the element usable. Reference: HTML disabled Attribute
Question ID 14885
You are modifying a blog site to improve search engine readability.
You need to group relevant page content together to maximize search engine readability.
Which tag should you use?
Option A
<article>
Option B
<table>
Option C
<div>
Option D
<span>
Correct Answer
A
Explanation Explanation: The tag specifies independent, self-contained content. An article should make sense on its own and it should be possible to distribute it independently from the rest of the site. Potential sources for the element: Forum post Blog post News story Comment