How to Build a Website - By Logan E
Nessicary tags
Tags are a form of statement that tells the computer what to put on your page. Most tags start with <something> inside brackets, and end with </something> inside brackets, but with a slash at the beginning. The slash indicates an ending statement.)
This tells the computer when to start and stop a function, such as adding a new paragraph or beginning the code itself.
When coding in HTML, there are a few basic and nessicary tags to use. They are easy to learn and easier to use.
<!DOCTYPE html>
- Is the first line of text in any HTML doccument.
- Declares and tells the computer that you are writing in HTML.
- Does not need a closing statement.
<html>
- Tells the computer when and where to start reading HTML.
- The last line of the doccument (and the end of the HTML) must be </html>.
- You MUST put all your code inbetween the <html> and </html> tag.
<head>
- Things here are not for writing on the screen.
- The head area allows for adding mostly cosmetic features to the tab of the website or to the theme of the webpage.
- Ends with </head>.
<body>
- This is where you add to the webpage itself.
- Almost everything goes inbetween the <body> and </body> tags. (including the code for this list!)
- The <body> section must come after the <head> section. Not inside, but after.
More Tag