Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created July 13, 2020 09:46
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 codecademydev/b839afc73fe43985f0aa65792b7bea36 to your computer and use it in GitHub Desktop.
Save codecademydev/b839afc73fe43985f0aa65792b7bea36 to your computer and use it in GitHub Desktop.
Codecademy export
<!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>
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