php-mysql tutorial

Designed By NISHANT GUPTA

  • Home
  • PHP
  • HTML
  • CSS
  • JavaScript
  • JQuery
  • Contact-us
  • Learn HTML

    • Introduction of HTML
    • Image Handling in HTML
    • List Handling in HTML
    • Font Handling in HTML
    • Table Handling in HTML
    • Form Handling in HTML
  • Learn CSS

    • Introduction of CSS
    • Styling Background in CSS
    • Styling Text in CSS
    • Styling Font in CSS
    • Styling Link in CSS
    • Styling List in CSS
    • Styling Table in CSS
    • Styling Div in CSS
    • Styling Span in CSS
    • Positioning in CSS
    • Display in CSS
  • Learn JavaScript

    • Introduction of JavaScript
    • Data Type in JavaScript
    • Variable in JavaScript
    • Oprator in JavaScript
    • Cond. Statement in JavaScript
    • Loop in JavaScript
    • Array in JavaScript
    • Function in JavaScript
    • Date in JavaScript
    • String in JavaScript
    • DOM in JavaScript
    • Event Handling in JavaScript
    • Form Handling in JavaScript
  • Learn PHP-MYSQL

    • Introduction of PHP
    • Decision Control in PHP
    • Loop in PHP
    • Array in PHP
    • Function in PHP
    • Form Handling in PHP
    • File Inclusion in PHP

List Handling in HTML

What are Lists?
  1. Lists are used to group related pieces of information together, so they are clearly associated with each other and easy to read.
  2. In modern web development lists are very important  elements, frequently used for navigation as well as general content.

Types Of Lists In HTML

There are three list types in HTML:

  1. unordered list—used to group a set of related items, in no particular order.
  2. ordered list—used to group a set of related items, in a specific order.
  3. definition list—used to display name/value pairs such as terms and their definitions, or times and events.

UnOrdered Lists In HTML

Unordered lists, or bulleted lists, are used when a set of items can be placed in any order. An example is a shopping list:

•milk
•bread
•butter
•coffee

These items are all part of one list, however, we could put the items in any order and the list would still make sense:

•bread
•coffee
•milk
•butter
Syntax For Unordered List
•We use the <ul> tag to create an unordered  list .
•Items will appear with bullets
•The list items are created with the <li> tag.
For Example

<html>
<head>
<title>List Demo 1</title>
<body>
<h3>Courses</h3>
<ul>
<li>C</li>
<li>C++</li>
<li>Java</li>
<li>.Net</li>
<li>Php-MySQL</li>
<li>Oracle</li>
</ul>
</body>
</html>

Advertisements

 

©  2014 All Rights Reserved  •  Design by >Nishant Gupta.

Privacy Policy • Terms of Use