A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 132

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 294

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 168

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 237

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 317

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 358

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 282

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 294

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 304

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 314

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 315

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 316

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 317

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 375

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: drivers/Session_files_driver.php

Line Number: 108

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 110

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Session cannot be started after headers have already been sent

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /home/u648970804/domains/tutiongo.com/public_html/application/controllers/Tutorials.php
Line: 7
Function: __construct

File: /home/u648970804/domains/tutiongo.com/public_html/index.php
Line: 315
Function: require_once

HTML Ordered, Unordered, and Definition Lists | Tutiongo
x
Home
html

HTML Lists

In this tutiongo tutorial we will learn about how to create different types of lists in HTML web page.


In Tutiongo Website HTML lists allow Us web developers Format items in lists.


HTML List Example

An unordered HTML list:

  • Item
  • Item
  • Item
  • Item

An ordered HTML list:

  1. First item
  2. Second item
  3. Third item
  4. Fourth item


Try it Yourself


Unordered List In HTML

An unordered list starts with the tag <ul>. Each list item starts with the tag <li> .

The list items will be Automatically marked with bullets Format (small black circles) by default:


HTML Unordered List Example

An unordered HTML list:

  • Item
  • Item
  • Item
  • Item


Try it Yourself


Ordered List In HTML

An ordered list starts with the tag <ol>. Each list item starts with the tag <li> .

The list items will be Automatically marked with numbers Format by default:


HTML Ordered List Example

An unordered HTML list:

  • First item
  • Second item
  • Third item
  • Fourth item


Try it Yourself


Description Lists In HTML

HTML also supports description lists in HTML.

A description lists is a list of terms use in Html, with a description of each term.

The tag <dl> defines the description list, the tag<dt> defines the term (name), and the tag <dd> describes each term:


HTML Description List Example

<dl>

  <dt>Coffee</dt>

  <dd>- black hot drink</dd>

  <dt>Milk</dt>

  <dd>- white cold drink</dd>

</dl>


Try it Yourself



List Tags In HTML 

TagDescription
<ul>It's Defines an unordered list
<ol>It's Defines an ordered list
<li>It's Defines a list item
<dl>It's Defines a description list
<dt>It's Defines a term in a description list
<dd>It's Describes the term in a description list