w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it



li ... ⁄li syntax

Syntax li

Examples li syntax

Valid Syntax 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<html>
<head>
<title>...</title>
</head>
<body>

<ul>
<li>...
<li>...
</ul>

</body>
</html>
Valid Syntax 2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<html>
<head>
<title>...</title>
</head>
<body>

<ul>
<li>...</li>
<li>...</li>
</ul>

</body>
</html>

Video demonstration li element, syntax

HTML5 li element, syntax Tutorial

min video details
00:05 video tutorial: li element, syntax
00:09 adding the li element in page
00:23 the li element may have:

- a start tag: <li>
- and an end tag: <⁄li>

OR
- just the start tag: <li>
li intro li browser display li parents - children li value attribute