HTML 5


HyperText Markup Language, defines the content of web pages.

    Introduction
    • Some HTML, CSS and JS coding stays on the <head>, so they will be executed before the browser page is exibed.
      Example: <meta charset="utf-8">

    Ordenated list
    <ol>
      <li></li>
    </ol>
    1. Real Example

    Unordenated list
    <ul>
      <li></li>
    </ul>
    • Real example

    Tables
    <table border="1" width="100%"> Opens table tag

      <tr> = Table Row (creates lines)
        <th>Product Code</th> Table Head - used for table or column title, centralizes the text
        <th>Product</th>
        <th>Price</th>
      </tr>

      <tr>
        <td colspan="2">Total</td> Creates a column that occupies two columns
        <td rowspan="2">Total</td> Creates a line that occupies two lines
      </tr>

      <tr>
        <td> </td> = Table Data - creates columns on the same line, where we can add content
        <td> <img src="example.jpg" alt=""> </td>
      <tr>

    </table>



    Forms
    <input type="button" value="Login" /> Button is a normal button
    <input type="submit" value="Login" /> Submit is a button used to send a form
    VAlue is the buttons's name



    radio = check ball, used when only one option is available to be selected.
    checkbox = when you can select more than one option.
    select = when there's a list of options of which you can only select one.
    textarea = bigger text area.