Web programming Flashcards
1
Q
How do you create a legend in HTML?
A
<fieldset>
<legend>text</legend>
</fieldset>
2
Q
How do you link a php to an html form and a database?
A
-> Create the database and the appropriate tables
-> set your form action attribute to the php script to be executed, and the method attribute to POST
3
Q
How do you check if a check box is on or not ?
A
write on papper and compare it to code
4
Q
how do you submit a form using js?
A
formElement.submit