Cheatography
https://cheatography.com
Document Outline
<html>
<head>
</head>
<body>
</body>
</html>
|
Text
<h1> |
Headers, you can use numbers 1-6 |
<p> |
Paragraphs |
Links and Images
<a href=”your link”> |
Link |
<img src=”your image link”> |
Image |
Link ex.
<a href="www.google.com">This is what you will see, not the google link</a>
Classes and Id's
<div> |
Div, a container for your code |
class="name" |
Class must go in the opening tag |
id="name" |
Id must go in the opening tag |
Put the name of your class or id in the quotes, it must go in the opening tag of what you want to name/style
|
|
Linking Your Stylesheet
This goes in the head section
<link rel="stylesheet" type="text/css" href="style.css">
|
Lists
<ol> |
Ordered list (uses numbers) |
<ul> |
Unordered List (uses bullet points) |
<li> |
List item (these must be used inside your list tags) |
Formatting
<i> |
Italics |
<b> |
Bold |
<u> |
Underline |
Place the text you want to change in between the opening and closing tag. Ex.
<p>This is a paragraph and <b>this text will be bold</b> but the rest will not</p>
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by bobsaget7