Archive for the ‘ HTML ’ Category

How to Display Image in HTML

With HTML you can display images in a document; Here’s how:
Read the rest of this entry »

HTML Forms

HTML Forms are used to select different kinds of user input.

HTML Forms

• A form is an area that can contain form elements.
• Form elements are elements that allow the user to enter information (like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc.) in a form.
Read the rest of this entry »

HTML Lists

HTML supports ordered, unordered and definition lists.

< strong >Unordered Lists< /strong >

• An unordered list is a list of items. The list items are marked with bullets (typically small black circles).
• An unordered list starts with the

    tag. Each list item starts with the < li > tag.


    < ul >
    < li >Coffee< /li >
    < li >Milk< /li >
    < /ul >
    Here is how it looks in a browser:
    • Coffee
    • Milk
    • Inside a list item you can put paragraphs, line breaks, images, links, other lists, etc

    Ordered Lists

    • An ordered list is also a list of items. The list items are marked with numbers.
    • An ordered list starts with the

      tag. Each list item starts with the
    1. tag.
      • < ol >
      • < li >Coffee< /li >
      • < li >Milk< /li >
      • < /ol >
      • Here is how it looks in a browser:
      • Coffee
      • Milk
      • Inside a list item you can put paragraphs, line breaks, images, links, other lists, etc.

      HTML Definition Lists

      • A definition list is not a list of items. This is a list of terms and explanation of the terms.
      • A definition list starts with the < dl > tag. Each definition-list term starts with the < dt > tag. Each definition-list definition starts with the < dd > tag.
      • < dl > < dt >Coffee< /dt > < dd >Black hot drink< /dd > < dt >Milk< /dt > < dd >White cold drink< /dd > < /dl >Here is how it looks in a browser:
      • Coffee
      – Black hot drink
      • Milk
      – White cold drink
      • Inside a definition-list definition (the < dd > tag) you can put paragraphs, line breaks, images, links, other lists, etc.

HTML Tables

Here’s the information about the HTML Tables
Tables are defined with the < table > tag. A table is divided into rows (with the < tr > tag), and each row is divided into data cells (with the < td > tag). The letters td stands for “table data,” which is the content of a data cell. A data cell can contain text, images, lists, paragraphs, forms, horizontal rules, tables, etc.
Read the rest of this entry »