-
-
Save codecademydev/b99cded511c4caca01966bd4f01b0344 to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> | |
DNightOwl Cheat-Sheat | |
</title> | |
<link href="styles.css" type="text/css" rel="stylesheet"/> | |
</head> | |
<body> | |
<header class="header"> | |
<span>HTML & CSS Cheat-Sheat</span> | |
</header> | |
<main class="main"> | |
<table class="page-sections"> | |
<tbody> | |
<tr> | |
<th>HTML</th> | |
<td class="content" rowspan="2"> | |
<section> | |
<h1>HTML Table Reference</h1> | |
<table> | |
<tbody> | |
<tr> | |
<th scope="row" rowspan="12" class="tag-header"> | |
Lists | |
</th> | |
<th scope="col" colspan="3">Tags</th> | |
</tr> | |
<tr class="titles"> | |
<th>Tag</th> | |
<th>Name</th> | |
<th>Description</th> | |
</tr> | |
<tr> | |
<td id="ulist"><span><ul></span></td> | |
<td>Unordered List</td> | |
<td>To create a bulleted list of items in no particular order.</td> | |
</tr> | |
<tr> | |
<td id="olist"><span><ol></span></td> | |
<td>Ordered List</td> | |
<td>To create a numbred list of items in a sequential order.</td> | |
</tr> | |
<tr> | |
<td><span><li></span></td> | |
<td>List Item</td> | |
<td> | |
Used to describe a list item inside: | |
<br> | |
- Ordered List <span><ol></span><br> | |
- Unordered List <span><ul></span> | |
</td> | |
</tr> | |
<tr> | |
<th scope="col" colspan="3">Attributes</th> | |
</tr> | |
<tr class="titles"> | |
<th>Attribute</th> | |
<th>Name</th> | |
<th>Description</th> | |
</tr> | |
<tr> | |
<td colspan="3"></td> | |
</tr> | |
<tr> | |
<th scope="col" colspan="3">Examples:</th> | |
</tr> | |
<tr class="titles"> | |
<th colspan="2">Code</th> | |
<th>Result</th> | |
</tr> | |
<tr> | |
<td class="code" colspan="2"> | |
<br><br> | |
<p> | |
<ul> | |
<br> | |
<li>item</li> | |
<br> | |
<li>item</li> | |
<br> | |
<li>item</li> | |
<br> | |
</ul> | |
</p> | |
<br> | |
<p> | |
<ol> | |
<br> | |
<li>item</li> | |
<br> | |
<li>item</li> | |
<br> | |
<li>item</li> | |
<br> | |
</ol> | |
</p> | |
</td> | |
<td class="result"> | |
<br><br> | |
<ul> | |
<li>item</li> | |
<li>item</li> | |
<li>item</li> | |
</ul> | |
<br> | |
<ol> | |
<li>item</li> | |
<li>item</li> | |
<li>item</li> | |
</ol> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
</section> | |
</td> | |
<th>CSS</th> | |
</tr> | |
<tr> | |
<!--CSS list--> | |
<td class="list"> | |
<ul> | |
<li class="title-list"> | |
<p>Lists:<p> | |
<ul class="sub-list"> | |
<li><a href="#ulist">Unordered Lists</a></li> | |
<li><a href="#olist">Ordered Lists</a></li> | |
</ul> | |
</li> | |
<!--<li class="title-list"> | |
<p>2</p> | |
</li> | |
<li class="title-list"> | |
<p>3</p> | |
</li>--> | |
</ul> | |
</td> | |
<!--HTML list--> | |
<td class="list"> | |
<ul> | |
<li class="title-list">-</li> | |
<li class="title-list">-</li> | |
<li class="title-list">-</li> | |
</ul> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
</main> | |
</body> | |
<footer class="footer"> | |
<p> | |
Created as a project in the Web Development course at <a href="https://www.codecademy.com/">Codecademy</a> | |
<br> | |
By Afilal Lamiaa, @D.NightOwl, 2020. | |
</p> | |
</footer> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment