I’ve read descriptions of <div> but don’t exactly understand it… coudl someone explain it to me?
With css, i simply have to link the htm page to it right?
<link rel=“stylesheet” type=“text/css” href=“mystyle.css” />
so quick example of a table
here’s the CSS file
mystyle.css
body {
background-color: #efffff;
}
table.master {
width: 800px
background-color: #441100;
padding-left: 30px;
margin-top: 25px;
}
and then for my html
<html>
<title>my css style</title>
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css" />
</head>
<body>
<table class="master">
<tr>
<td>
<h1> This is a table. </h1>
</td>
</tr>
</body>
</html>
Would those examples above be legit if I just uploaded a css file and html file like that onto something like geocities.com (or any other site that hosts free websites)?