Every HTML file must start with the <HTML> tag. This tells the browser what type of file it is so it can properly decode the scripts.
The stuff in the <body> is VISIBLE to the User. The stuff in the <head> is invisible, except for the title.
HTML is NOT case sensitive, but choose upper or lower, don't use both.
<> angle brackets tell the browser to read the text as script tags.
<> is an opening tag. Ex: <HTML>
</> is a closing tag. Ex: </HTML>
Brackets hold the COMMAND and the ATTRIBUTES (options) for that command;
Example: <hr width="200" align="left">
You can have many attributes in one TAG. Attributes have specific values.
There are a few examples of tags that do not need a closing bracket: Horizontal Rule <hr> and LINE BREAK <BR>
1) In an HTML editor, create an index.html file with a HEAD and BODY. Both require closing tags.
2) Within the HEAD tags, use the TITLE tag, also needs a closing tag. The TITLE is displayed in the bar at the top of the browser. Within the BODY tag, type: Hello, World. Save your file. To test, drag the file into a browser window.
3) Next, go back to your file in the HTML editor and place a LINE BREAK tag between "hello" and "world". Re-save and Test.
Put stuff here.
In BBEdit, you can select File - New HTML document to make the template for you.