Skip to content

Instantly share code, notes, and snippets.

@abhishekjakhar
Last active October 14, 2018 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhishekjakhar/96a6c4377196a5b7db6cc4e4c0da8664 to your computer and use it in GitHub Desktop.
Save abhishekjakhar/96a6c4377196a5b7db6cc4e4c0da8664 to your computer and use it in GitHub Desktop.
Lists in HTML (Unordered List, Ordered List, Description List)
<!DOCTYPE html>
<html>
<head>
<title>HTML - A short guide</title>
</head>
<body>
<ul>
<li>Unordered List Item 1</li>
<li>Unordered List Item 2</li>
<li>Unordered List Item 3</li>
</ul>
<ol>
<li>Ordered List Item 1</li>
<li>Ordered List Item 2</li>
<li>Ordered List Item 3</li>
</ol>
<dl>
<dt>HTML</dt>
<dd>- Hyper Text Markup Language</dd>
<dt>CSS</dt>
<dd>- Cascading Style Sheet</dd>
</dl>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment