Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created March 11, 2020 19:47
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/0a572dd3f74697854e423c63a4233c98 to your computer and use it in GitHub Desktop.
Save codecademydev/0a572dd3f74697854e423c63a4233c98 to your computer and use it in GitHub Desktop.
Codecademy export
<html>
<head>
<link rel="stylesheet" href="./styles.css" type="text/css">
</head>
<body class="body">
<h1 class="title">From The Beginning</h1>
<h2> HTML Code Used To Begin Your Page </h2>
</body>
<table>
<thead>
<tr class="trboldshit">
<th colspan="3" class="column1">TAG</th>
<th colspan="15" class="column2">DESCRIPTION</th>
</tr>
<tbody>
<tr>
<td colspan="3" class="row1">!DOCTYPE</td>
<td class="column2row2">Must be the first part of any html code as it is what declares what type of page is being built</td>
</tr>
<tr>
<td colspan="3" class="row2">HTML</td>
<td class="column2row3">The answer to the DOCTYPE code right before it</td>
<td></td>
</tr>
<tr>
<td colspan="3" class="row3">HEAD</td>
<td class="column2row3"> Where the heading of the page will go</td>
<td></td>
</tr>
<tr>
<td class="row4">BODY</td>
<td colspan="3" class="column2row2">Where all the info goes that makes up the page</td>
<td></td>
</tr>
</tbody>
</thead>
</table>
.title {
font-family: cursive;
font-style: bold;
color: white;
background: gray;
text-align: center;
}
h2 {
text-align: center;
font-family: fantasy;
}
.column1, .column2 {
font-size: 20px;
border-top: 2px solid;
border-bottom: 2px solid;
border-right: 2px solid;
border-left: 2px solid;
background-color: gainsboro;
}
table {
border: 2px solid;
}
.row1, .row2, .row3, .row4 {
border-top:2px solid;
border-left:2px solid;
border-bottom:2px solid;
border-right:2px solid;
text-align: center;
font-family: Arial;
font-style: bold;
}
.column2row2 {
border-top: 2px solid;
border-bottom: 2px solid;
border-right: 2px solid;
border-left: 2px solid;
}
.fantasy {
font-family: fantasy;
}
.column2row3 {
border-top: 2px solid;
border-bottom: 2px solid;
border-right: 2px solid;
border-left: 2px solid;
}
.body {
background-color: AntiqueWhite;
}
h1 {
font-family: Arial;
}
.trboldshit {
font-family: verdana;
font-style: bold;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment