Skip to main content

ads1

Class 12 Chapter:- 1 Creating HTML Forms Using KompoZer


Summary

 

HTML stand for Hyper text Markup Language.In Html Forms are used to accept the data over the web.


In HTML, A Form are used to collect different input from the user.


Forms have various element like :- 

  • label  
  • text  
  • Radio button 
  • Chechbox 
  • Text Area 
  • Selection list
  • buttons 

etc. Through which user can input there personal information , a feedback about the product a survey etc.


The software which we are using for the Web development is :- KompoZer.


The Kompozer is free web development IDE(Integrated Development IDE) used to create web pages and website for Free and without coding.Basically you just have to used drag and drop method to create a Web-page or Website


KompoZer also have a web page editor which has simple GUI(Graphical user interface) Interface known as 'WYSIWYG' is basically stand for 'What You See Is What You Get'.


Creating form using Kompozer is Simple and Fast.


How to Download and Install kompZer


Choose the most appropriate option from those given below : 


(1) Which of the following is a container used to collect different kinds of inputs from 

the user. 

(a) Form 

(b) Webpage

(c) Text 

(d) Input 


(2) Which of the following element is used to create an HTML form? 

(a) Textarea     

(b) Form  

(c) Select and Option     

(d) Input 


(3) Which of the following is the tag used to implement form element ? 
(a) <form>... </form>               

(b) <form>... <form>                                           

(c) </form>... </form>              

(d) <frm>... </frm> 


(4) Which of the following attribute of form is used to specify where to send the form data 

when the form is submitted ? 

(a) method

(b) action   

(c) submit

(d) input 


(5) Which of the following attribute of form specifies the HTTP method to be used when 

sending the data ? 

(a) submit

(b) action   

(c) method 

(d) input 


6 Which of the following values are used by method attribute ? 

(a) GET and POST

(b) GET and SET

(c) GET and PUT

(d) SET and POST 


(7) Which of the following method allows only a limited amount of information to be sent 

at a time? 

(a) GET

(b) POST

(c) SET

(d) PUT 


(8) Which of the following method sends the data as a block through the HTTP transaction? 

(a) GET 

(b) SET  

(c) PUT  

(d) POST 


(9) Which of the following attribute of the input element specifies the field that is to be created  in the form? 

(a) Input

(b) Type

(c) Name 

(d) Value 


(10) Which of the following element allows multi-line text input ? 

(a) Textarea      

(b) Input 

(c).Select and Option

(d) Form 


(11) Which of the following element is used to create a drop down list or menu in a form ? 

(a) Input             

(b) Textarea

(c) Select

(d) Form 

 

(12) Which of the following is a free open source web development DE ? 

(a) HTML

(b) Kompozer

(c) Scite         

(d) Base 


(13) Which of the following stands for "WYSIWYG" ? 

(a) When You See Is When You Get

(b) What You See Is When You Get 

(c) What You See Is What You Get

(d) When You See Is What You Get 

             

Link to download chapter  :-



Link to download MCQ :- 

Practical 

Creating form using KompoZer 

Example 1
 
form 1 


Solution of Example 1  


Creating form using KompoZer 

Example 2

Example 2 

Solution of Example 2

 




ads2

Popular posts from this blog

11. Write a Java program to input basic salary of an employee and calculate its Gross salary according to following:

    11. Write a Java program to input basic salary of an employee and calculate its Gross salary according to following: Basic Salary <= 10000 : HRA = 20%, DA = 80% Basic Salary <= 20000 : HRA = 25%, DA = 90% Basic Salary > 20000 : HRA = 30%, DA = 95% Static Solution :-  class salary {     public static void main(String args[])     {     double basic=20000.50,gross,da,hra;     if(basic <=10000)     {         da = basic * 0.8;         hra = basic *0.2;     }              else if(basic <=20000)     {         da = basic * 0.9;         hra = basic *0.25;     }     else     {         da = basic * 0.95;         hra = basic * 0.3;     }     gross = basic + da + hra;     System.out.println("The Gross Salary is :-"+gross);     } } Output :-  Dynamic Solution :-  class salary {     public static void main(String args[])     {     double basic=20000.50,gross,da,hra;     Scanner in = new Scanner(System.in);     System.out.println("Enter the Basic Salary

1. Given the school result data, analyses the performance of the students on #different parameters, e.g subject wise or class wise.

1. Given the school result data, analyses the performance of the students on #different parameters, e.g subject wise  or class wise. Solution :-   # x-axis is shows the subject and y -axis # shows the markers in each subject # import pandas and matplotlib  import pandas as pd  import matplotlib.pyplot as plt # Simple Line Chart with setting of Label of X and Y axis, # title for chart line and color of line  subject = ['Physic','Chemistry','Mathematics', 'Biology','Computer'] marks =[80,75,70,78,82] # To draw line in red colour plt.plot(subject,marks,'r',marker ='*')     # To Write Title of the Line Chart plt.title('Marks Scored') # To Put Label At Y Axis plt.xlabel('SUBJECT')           # To Put Label At X Axis plt.ylabel('MARKS')             plt.show() Output :- 

24.Create a Data Frame quarterly sales where each row contains the item category, item name, and expenditure. Group the rows by the category and print the total expenditure per category.

24.Create a Data Frame quarterly sales where each row contains the item category, item name, and expenditure. Group the rows by the category and print the total expenditure per category. import pandas as pd  # initialize list of lists data = [['CAR','Maruti',1000000],['AC','Hitachi',55000],['AIRCOLLER','Bajaj',12000], ['WASHING MACHINE','LG',15000],['CAR','Ford',7000000],['AC','SAMSUNG',45000],['AIRCOLLER','Symphony',20000],['WASHING MACHINE','Wirlpool',25000]] Col=['itemcat','itemname','expenditure'] # Create the pandas DataFrame qrtsales = pd.DataFrame(data,columns=Col) # print dataframe.  print (qrtsales) qs=qrtsales.groupby('itemcat')  print('Result after Filtering Dataframe')  print(qs['itemcat','expenditure'].sum()) Output :-