Organize your data is important it don't matter if it HTML, CSS, PHP, or database i will give you tips for most of the things
-always name files ( if you testing files don't just name them test.html say htmltest.html it will help for you to see what you learn and what you did before i myself no one tell me that so i usually put test.html and then delete it and now i forgot what i did and can't find it...)
-put CSS in different file in HTML doc put
<link rel="stylesheet" type="text/css"
href="mystyle.css" />
to link your css to html this will give the html style without add too much codings..
-in CSS file always put them in forms, put header first body middle footer last, this will help organize the data a lot
-PHP always put php codings before body (if able to do so)
-in PHP use varable which is putting a varable in HTML text instead of what you echo..
for exsample i want to echo welcome text
$welcome='Welcome to my website bla bla bla who care what to put'
then in html text you can put
<body><p><?php echo '$welcome' ?>
this way you can create a HTML file that have it styles and on the top you can have a list of contents to put like
$header='My website'
$subheader='design by ...'
$sidebar='this is a side bar..'
.
.
.
and then in the HTML you put
<title><?php echo '$header' ?></title>
<body><?php echo '$body' ?></body>
<sidebar><?php echo'$sidebar' ?></sidebar>
EVEN you can put the top part in other doc so you don't need to see the real coding--maybe you make a theme and people use the "change php" to change what they put...
PHP are very good codes you can put one doc into many different part easily
_________________