Basic HTML Practice Programs (Questions)
Basic HTML Practice Programs (Questions)
c) How to create a hyperlink to take you to another part of the same HTML document?
g) What shall be the correct value of the media attribute of a hyperlink which points to an HTML
document?
a) How to specify an alternate text for the area. Required if the href attribute is present?
c) How to specify that the target will be downloaded when a user clicks on the hyperlink?
g) How to specify the relationship between the current document and the target URL?
NYN Arcade, 3rd Floor Lumbini Society, Off. Hitech City Main Rd, Gachibowli, Telangana-500032.
www.the-info-matrix.com
h) How to specify the shape the of the area?
10. How to specify the base URL/target for all relative URLs in a document?
11. How to isolate a part of the text that might be formatted in a different direction from other text outside
it?
a) How to specify that a button should automatically get focus when the page load?
NYN Arcade, 3rd Floor Lumbini Society, Off. Hitech City Main Rd, Gachibowli, Telangana-500032.
www.the-info-matrix.com
e) How to specify how form-data should be encoded before sending it to a server?
h) How to specify where to display the response after submitting the form?
20. How to specify the column properties of each column within a colgroup element?
a) How to specify a URL to a document that explains the reason why the text was deleted?.
b) How to specify the date and time when the text was deleted?
NYN Arcade, 3rd Floor Lumbini Society, Off. Hitech City Main Rd, Gachibowli, Telangana-500032.
www.the-info-matrix.com
25. How to define additional details that the user can view or hide?
c) How to enable an extra set of restrictions for the content in an iframe element?
NYN Arcade, 3rd Floor Lumbini Society, Off. Hitech City Main Rd, Gachibowli, Telangana-500032.
www.the-info-matrix.com
d) How to specify the address of the document to embed in the iframe element?
e) How to specify the HTML content of the page to show in the iframe element?
a) How to specify the types of files that the server accepts(only for type="file")?
d) How to specify that an input element should automatically get focus when the page loads?
e) How to specify that an input element should be pre-selected when the page loads (for
type="checkbox" or type="radio")?
g) How tie an input element to a form, though the input element resides outside the form?
h) How to specify the URL that will process the data supplied through input(s) when the form is
submitted (for type="submit" and type="image")?
i) How to specify the form-data should be encoded when submitting it to the server (for type="submit"
and type="image")?
j) How to define the HTTP method for sending data to the action URL (for type="submit" and
type="image")?
NYN Arcade, 3rd Floor Lumbini Society, Off. Hitech City Main Rd, Gachibowli, Telangana-500032.
www.the-info-matrix.com
k) How to define that form elements should not be validated when submitted?
l) How to specify where to display the response that is received after submitting the form (for
type="submit" and type="image")?
n) How to refer to a datalist element that contains pre-defined options for an input element?
r) How to specify that a user can enter more than one value in an input element?
t) How to specify a regular expression that an input element's value is checked against?
u) How to specify a short hint that describes the expected value of an input element?
w) How to specify that an input field must be filled out before submitting the form?
y) How to specify the URL of the image used as a submit button (only for type="image")?
cc) How to specify the width of an input element (only for type="image")?
47. How to define a text that has been inserted into a document?
a) How to specify a URL to a document that explains the reason why the text was inserted/changed?
b) How to specify the date and time when the text was inserted/changed?
NYN Arcade, 3rd Floor Lumbini Society, Off. Hitech City Main Rd, Gachibowli, Telangana-500032.
www.the-info-matrix.com
48. How to define a keyboard input?
a) How to specify that a keygen element should automatically get focus when the page loads?
c) How to specify one or more forms the keygen element belongs to?
53. How to define the relationship between a document and other resources?
d) How to specify the relationship between the current document and the linked document?
NYN Arcade, 3rd Floor Lumbini Society, Off. Hitech City Main Rd, Gachibowli, Telangana-500032.
www.the-info-matrix.com
b) How to give the value associated with the http-equiv or name attribute?
c) How to provide an HTTP header for the information/value of the content attribute?
e) How to specify what value is the optimal value for the gauge?
61. How to define an alternate content for users that do not support client-side scripts?
e) How to specify the media type of data specified in the data attribute?
NYN Arcade, 3rd Floor Lumbini Society, Off. Hitech City Main Rd, Gachibowli, Telangana-500032.
www.the-info-matrix.com
64. How to define a group of related options in a drop-down list?
c) How to specify that an option should be pre-selected when the page loads?
a) How to specify the relationship between the result of the calculation, and the elements used in the
calculation?
b) How to specify one or more forms the output element belongs to?
a) How to specify that the script is executed asynchronously (only for external scripts)?
c) How to specify that the script is executed when the page has finished parsing (only for external
scripts)?
NYN Arcade, 3rd Floor Lumbini Society, Off. Hitech City Main Rd, Gachibowli, Telangana-500032.
www.the-info-matrix.com
d) How to specify the URL of an external script file?
a) How to specify that the drop-down list should automatically get focus when the page loads?
c) How to defines one or more forms the select field belongs to?
f) How to specify that the user is required to select a value before submitting the form?
b) How to specify that the styles only apply to this element's parent element and that element's child
elements?
NYN Arcade, 3rd Floor Lumbini Society, Off. Hitech City Main Rd, Gachibowli, Telangana-500032.
www.the-info-matrix.com
82. How to define subscripted text?
e) How to specify whether a header cell is a header for a column, row, or group of columns or rows?
a) How to specify that the video will start playing as soon as it is ready?
b) How to specify that video controls should be displayed (such as a play/pause button etc)?
NYN Arcade, 3rd Floor Lumbini Society, Off. Hitech City Main Rd, Gachibowli, Telangana-500032.
www.the-info-matrix.com
d) How to specify that the video will start over again, every time it is finished?
e) How to specify that the audio output of the video should be muted?
f) How to specify an image to be shown while the video is downloading, or until the user hits the play
button?
NYN Arcade, 3rd Floor Lumbini Society, Off. Hitech City Main Rd, Gachibowli, Telangana-500032.
www.the-info-matrix.com