Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
Forms and Frames in HTML MCQ
with Answers and Explanations:
1.) It is a coding/programming language which is used to create text and graphics webpages for a website. a) Java b) Python c) Visual Basic d) HTML Explanation :-HTML stands for Hyper Text Mark up Language. This is a coding/programming language which is used to create text and graphics webpages for a website. When the programming/coding of HTML is done in Notepad or Word pad, it can be runned on many web browser but suggest you to make use of Internet Explorer web browser. The HTML file is saved with .htm or .html file extensions 2.) It is the easiest way to collect information from webpage visitors. a) Forms b) Detectors c) Checkers d) Collectors Explanation :-Form is the Information regarding the persons who have visited your website is been feeded into the form. With the help of form, it can remind users to inputting information and valid options has limitations too avoid the wrong entering of data. It helps the user to collect that is needed from the visitor’s webpage. Every form is divided into three parts that is <Form> tag, form input elements and a Submit button. In the forms making, HTML writing is required for stating the objects (which can include text fields, check boxes etc) radio buttons, in the form which helps the user to type or select the information. It is a must to add a Submit button in the form for sending the data to a webserver for processing. 3.) There are ………………….. important parts of the web page form. a) Two b) Five c) Three d) Four Explanation :- In the HTML programming language there are basically and important three parts of the webpage form which are <form tag>, form input elements, and a submit button. At the time of filling/creating or building the forms, we make use of HTML for stating different objects like text fields, radio buttons, checkboxes etc. These objects helps the user in selecting or typing the information. 4) With the help of text input controls any user can input or feed the text into the form a) Text feed control b) Text enter control c) Text input control d) None of these Explanation :-With the help of text input controls any user can input or feed the text into the form through various methods :- i) Text box is used for entering text that is in small amount. ii) Text area box is used for entering text in that form that is in larger way/amount. iii) Password text box is text box helps the user in entering the password for the form. 5.) The control box is made use for entering the text in a one line. a) Text feedback control b) Text input control c) Text enter control d) None of these Explanation :-Text control box is made use for entering the text in a one line. There are two attributes in the text control viz are 1. Size :- In which the user can set with the characters that are to be displayed in the form. 2. Maxi length :- In which we can set the maximum/final length of the field that is to be inputted/feeded. 6.) The text contents or special codes in HTML documents are called as a) Links b) Tags c) Address d) None of these Explanation :-HTML is a language that is made up of text and some special codes which are known as tags which helps / guides the web browser how the contents in the web pages should be shown. 7.) The HTML files are saved with the file extensions as a) .docx b) .html or .htm c) .xlsx d) .accdb Explanation :-The files/ documents are in HTML are always saved with the files extensions as .htm and .html. 8.) The property in which we can give two values a) method b) action c) REPEAT d) FONT Explanation :-Method property guides the user in shifting the data that is in CGI script or email address to the data form. In this property we can give two values that is :- a) GET :- If the setting of this form method property is been done/ adjusted to the GET, then form is submitted to the from processor in the environment variable. (i.e is QUERY_ STRING). If not setted/ adjusted then this property would be given in <FORM> tag. By default the property of the form is adjusted to GET. b) POST :- If the settings of the method property in the form is adjusted to the POST, then the data is send to the form processor in the form of the standard input of the program. 9) The text box that helps the user in entering the password for the form. a) Input text control b) password box c) Text area box d) None of these Explanation :-Password text box is text box helps the user in entering the password for the form. this can be sued for inputting secret/ confidential information like credit card number or password. Such type of information can be read by the other information as this information character is secured by asterisk (*) or bullet (●). 10) It is ideally used for getting comments or feedback from the visitors. a) Password box b) Check box c) Large text area d) Radio button Explanation :-A large text area is ideally used for getting comments or feedback from the visitors. This area will allow the visitors to enter the comments/ feedback in many lines. 11) By default, these boxes remains unselected. a) Radio button b) Password box c) Text box d) Check box Explanation :-Checkboxes helps in controlling the visitors of the web page who uses more than one choice from the list of many choices. The check boxes remains unselected/ unchecked by default. In the list of checkbox, each/every choice can be in on or off. 12) The button that helps in controlling the visitors of the web page who uses only one choice from the list of many choices. a) TV remote button b) Shirt button c) Radio button d) None of these Explanation :-Radio button helps in controlling the visitors of the web page who uses only one choice from the list of many choices. The button which appear in an open circle (i.e is called as radio button or option button) before it comes each choice. 13) It helps the user to clears inputted data that is entered into the form by making a click on the reset button. a) Erase button b) Clear button c) Delete button d) Reset button Explanation :- Radio button helps the user to clears inputted data that is entered into the form by making a click on the reset button. Reset button must be always added into the web page form. 14) We can see the list of products , states, groups, age etc. with the help of the normal menus. a) Check box b) Reset button c) Menu d) None of these Explanation :-In the MenuWe can see the list of products , states, groups, age etc. with the help of the normal menus. There is need for the user/visitor to give information in relation to :- i) Making use of the NAME attribute, it can help you to specify a particular word for the word which describes the menu. ii) The VALUE attribute will specify a particular word for making the contents description. iii) On the webpage, which text should be appearing for each menus, that also you can do it. 15) A rectangular area of a webpage in which a separate webpage can be displayed. a) Form b) Frames c) Text box d) check box Explanation :-A frame is a rectangular area of a webpage in which a separate webpage can be displayed. With the help of using the frames in HTML, it will allow the user to make appear the many pages (web) at one time in a single web browser window. Frames are used for dividing or splitting the pages into the many sections/ parts that helps the user to access the several web pages in the website on a single screen. The page can be seen as the top part of the screen and the remaining part is the scrolling page. The visitor/person who visits the website, can see more than one web pages at a single/ one time. Whatever is required to remain or be a part of a webpage screen like headers, navigation menus or other information etc can be shown in the webpage. If incase you want to view the certain information for all the times in the website, then you can make use of Frames. Even you can show the navigation bar at one place which reduces the work of including the navigation links on the websites each and every page. The users can navigate many contents on the website with the help of frames.