Posts

Showing posts from August, 2024

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...

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...

LONG TABLES

Image
HTML LONG TABLE   THREE ELEMENTS HELP DISTINGUISH BETWEEN THE  MAIN CONTENT OF THE TABLE AND THE FIRST LAST ROWS ( WHICH CAN  CONTAIN DIFFERENT ELEMENT). <thead> - THE HEADINGS OF THE TABLE SHOULD SIT INSIDE THE <thead> ELEMENT.    <tbody> - THE BODY SHOULD SIT INSIDE THE <tbody> ELEMENT. <tfoot> - THE FOOTER BELONGS TO THE <tfoot> ELEMENT. EXAMPLE: <table>  <thead>  <tr>  <th>Date</th>  <th>Income</th>  <th>Expenditure</th>  </tr>  </thead>  <tbody>  <tr>  <th>1st January</th>  <td>250</td>  <td>36</td>  </tr>  <tr>  <th>2nd January</th>  <td>285</td>  <td>48</td>  </tr>  <!-- additional rows as above -->  <tr>  <th>31st January</th...

HTML TABLE

Image
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>- T HE <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:

Popular posts from this blog

Ch-Heading Tags (blog 3)

Basic structure of HTML

Introduction to HTML