HTML Interview Questions

Question 51:Which attribute of the <form> element defines how form data should be encoded when submitting to the server?
Question 52:How do you include a JavaScript file in an HTML document?
Question 53:Which HTML attribute is used to set the width of an image?
Question 54:What is the default value of the target attribute in an anchor (<a>) tag?
Question 55:How do you make an HTML element focusable via keyboard navigation?
Question 56:Which attribute specifies whether a form control is read-only?
Question 57:Which attribute of the <form> element defines how form data should be encoded when submitting to the server?
Question 58:How do you specify a form control that is initially selected when the page loads?
Question 59:Which HTML element represents user input from a keyboard, voice, or other devices?
Question 60:What is the purpose of the <legend> element in HTML forms?
Question 61: How do you define a comment in HTML?
Question 62: Which HTML5 input type accepts values in the format of an email address?
Question 63: What does the accept attribute do in an HTML form?
Question 64: What does the rel attribute specify in a <link> element?
Question 65: How do you specify the width of a table column in HTML?
Question 66: What does the <noscript> tag do in an HTML5 document?
Question 67: Which of the following input types is used for a password field?
Question 68: Which tag defines a caption for a table in HTML?
Question 69: How do you add multiple options that allow multiple selections in an HTML form dropdown?
Question 70: Which attribute is used to specify the URL of an image map in HTML?
Question 71: What is the purpose of the pattern attribute in an HTML <input> element?
Question 72: Which HTML5 element is used to define a scalar measurement within a known range
Question 73: How can you create a scrollable text area in an HTML form?
Question 74: Which of the following HTML5 tags is used to embed an object such as a PDF or Flash file?
Question 75: Which of the following attributes makes an input field inactive and un-editable by the user?
Question 76:What is the purpose of the <sub> element in HTML?
Question 77: How can you force an HTML form to automatically submit when the user makes a selection in a dropdown?
Question 78: Which attribute is used to open a hyperlink in a new browser window or tab?
Question 79: Which of the following HTML5 elements represents a thematic break in the content (such as a shift in topic)?
Question 80:Which HTML element is used to group options inside a dropdown list?
Question 81: How do you mark text as a keyboard shortcut in HTML?
Question 82: What is the purpose of the autocomplete attribute in an HTML form?
Question 83: How do you display a numbered list in HTML?
Question 84: What is the purpose of the <optgroup> tag?
Question 85: What does the lang attribute specify in the HTML <html> element?
Question 86: How do you disable an HTML form field so it cannot be edited or submitted?
Question 87: Which tag is used to display an inline frame in HTML?
Question 88: What is the correct HTML element for inserting a line break?
Question 89: How do you define a title for an HTML document that appears in the browser tab?
Question 90: What does the <code> element in HTML represent?
Question 91: Which HTML attribute is used to define a tooltip for an element?
Question 92: What is the correct way to reference an internal section of a webpage in HTML?
Question 93: What is the default method for sending form data in an HTML form?
Question 94:How can you add a background image to a webpage using HTML?
Question 95:What is the purpose of the
tag in HTML?
Question 96:How do you specify that an HTML link should open in the same window?
Question 97:Which HTML tag is used to define emphasized text?
Question 98:How do you create a checkbox in an HTML form?
Question 99:What is the use of the <pre> tag in HTML?
Question 100:Which HTML element is used for abbreviations or acronyms?

Showing 51-100 of 500 questions

Contact Tech Spakes Training