-
-
Save codecademydev/b839afc73fe43985f0aa65792b7bea36 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> | |
<head> | |
<link href="./styles.css" rel="stylesheet" type="text/css"> | |
<title> CSS Properties </title> | |
</head> | |
<body> | |
<h1>Common CSS Properties</h1> | |
<table border="1"> | |
<tr> | |
<th>Name</th> | |
<th>Description</th> | |
</tr> | |
<tr> | |
<td>Color</td> | |
<td>Color here refers to text color.</td> | |
</tr> | |
<tr> | |
<td>Background</td> | |
<td>Background refers to the background of the HTML element</td> | |
</tr> | |
<tr> | |
<td>Font</td> | |
<td>Fonts in general refer to the appearance of text in your website.</td> | |
</tr> | |
<tr> | |
<td>text-align</td> | |
<td>Aligns the text in an element</td> | |
</tr> | |
<tr> | |
<td>text-transform</td> | |
<td>Controls the letters in an element</td> | |
</tr> | |
<tr> | |
<td>font-family</td> | |
<td>Specifies the font family for text</td> | |
</tr> | |
</table> | |
</body> | |
</html> |
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
body { | |
background-color:aquamarine; | |
} | |
h1{ | |
color: darkorchid; | |
font-family: monospace; | |
text-align: center; | |
} | |
table.td{ | |
text-align: center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment