FORM STRUCTURE

Image
  FORM STRUCTURE <form>: form controls live inside a <form> element .This element should always carry the action attribute and will usually have a method and ad id attribute too. action: Every form element requires an action attribute. Its value of the URL for the page on the server that will receive the information in the form when it is submitted> method: The form can be sent using one of the following methods: get or post. With the get method, the values from the form are added to the end of the URL specified in the action attribute. With the  Post method, the values   are sent in what is  known as HTTP headers.  <input>: The <input> element creates several different  form controls. The type attribute's value determines what kind of input they will be creating. type="text': When the type attribute has a value of text, it creates single-line text  input. name: When users enter information into a form, the server contro...

HTML TABLE

HTML TABLE



WE CAN MAKE TABLES USEING HTML

BASIC TABLE STRUCTURE 

<table>-  THE TABLE ELEMENT IS USED TO CREATE A TABLE . THE CONTENTS OF THE TABLE ARE WRITTEN OUT ROW BY ROW

<tr>- YOU INDICATE THE START OF  EACH ROW USING THE OPENING   <tr>TAG. (tr STANDS FOR TABLE ROW)

<td>-  EACH CELL OF A TABLE IS REPRESENTED USING A                   <td>ELEMENT.(td STANDS FOR TABLE DATA). 

<th>- THE <th>ELEMENT IS USED JUST LIKE THE <td>ELEMENT BUT ITS   PURPOSE IS TO REPRESENT THE HEADINGS FOR EITHER A COLUMN OR A ROW .(THE th  STANDS FOR TABLE HEADINGS)

EXAMPLE:






Comments

Popular posts from this blog

Ch-Heading Tags (blog 3)

Basic structure of HTML

Introduction to HTML