Minimal Effort

Hello! Welcome to Tips and Tricks for html where we will learn how to use vim in terminal.
The first this that you should know is how to open vim. To do this you should type,
vim insertfilename.here
Once that is done we must make a minimal html page, it sould look something like this:

<!DOCTYPE html>
<lang="en">
<head>
<title>Whatever you put here is the title of the webpage.</title>
</head>
<body>
<p>whatever you put here will be displayed on your website.</p>
</body>
</html>

This is what a minimal effort page looks like.
What you see inside the angle brakets are called tags, they allow for certian things. An example is:<p> this means paragraph and it allows you to write things that appear on you website as writing. However, When there is a open tag there also must be a closing tag or else everythig would be text. The closing tag will look like this: </p>, it will always have a / after the < sign.


Attributes

An example of an attribute is <lang="en">. Attributes tell your computer what to do about somthing or how they should do it. This one tells the computer that I am writing in english. Once you ar done writing your minimal html page hit ESC Then hit :wq. W saves your work and Q quits the file, if don't put w then you will quit without saving.


Other Things

As you dive deeper into html you will find out how to use a varity of things such as:

and more that will halp you build your website.