LMaW/Basics

From Create Your Own Story

An HTML page has some basic elements.

When we create one, we start with the sections.

DOCTYPE - This tells the web browser how to read the webpage. While computers are good at somethings, you still need to tell it what to do.

HTML - This just states that the document will be HTML. I don't know PHP, so I won't cover that.

Head - This is the top of the document. We give it more instructions, like what the page may look like (style), what title to put in, what scripts to run (javascript), and other details.

Body - This is where all the stuff that you will see on the webpage goes.

Personal tools