By: Leon “2K” Asare
To start your first html web document go to the programs section on your computer.
The simplest and easiest way to get started is to go to your All Programs section and select Notepad.
Getting Started Coding
Note: Most Html elements, also called tags have an open < and > closing bracket.
How HTML tags are used
The meta tags within the head will not be seen by your visitors to your website. Meta tags or metadata are what tell a browser how to perceive or view your website. Here are some examples:
Every HTML document starts with the <DOCTYPE html> tag, it tells the browser this is an HTML document.
The <html lang=”en-us”> tag, tells the browser what language you are using in your document.
The <meta charset=”utf-8″> tells the browser what characters or alphabet you are using in your document.
The <meta name =”viewport” content=”width=device-width, initial-scale=1.0″> tag tells the browser to scale your website based on the size/scale of the screen.
The <meta name=”description” content=”This is an example”> tag tells your browser what the webpage/website is about.
The <meta name=”keywords” content=”your, keywords, go, here”> are where you put keys words that help your website place higher with search engines.
The <meta name=”author” content=”your name”> This tells the browser who wrote the Website.
The <title>Example</title> is were you place the name of your webpage.
The opening <body> and closing </body> tags are where you put your content that you want to be viewed by the website visitor.
The headings tags, which start at <h1> heading</h1> and ends with <h6> Heading </h6>. Heading one is the largest and most important, Heading six is the smallest and least important Heading.
The <p> tag is where you put your paragraph it ends with the </p>. Everything in between will be seen by the website visitor.
The <a href=”leontheprogressivecoder.com”>The Progressive Coder Website link</a>. The (a) anchor and href tells your browser where to go. The so-called “href” or “anchor” tag, ends with </a>. Note : the text in between the opening <a href> and closing tag </a> is where your visitors will click on to go to the site or page you want your visitors to go.
How to Save Your First HTML Document
Go to file menu and select save as. For your first page it will be index.html. Each additional page will saved according to their title and function, for example: about.html will be your about page.
Note: If you intend to utilize more than one page for your project, you will want to create a folder for that specific project.
By: Leon “2K” Asare
A great free online learning resource is W3schools.com, it’s like having your own coding bootcamp in your phone or laptop/desktop. W3schools.com has hundreds of chapters you can read and exercises that you can perform. One of W3schools.com best features is its code editor, which you can use to practice your coding.
That being said, you don’t have to complete the courses at W3schools.com or any other website or book before you start working on your first web developer project, here is a list of free and or cheap text editors for web developers:
1. Visual Studi Code : Code.VisualStudio.com (my choice).
2. Sublime Text 3 (SublimeText.com)
3. Atom (Atom.io)
4. Coffecup.com (coffeecup.com/html-editor)
5. NotePadd++ (Notepad-plus-plus.org)
6. Vim (Vim.org)
Here are some great online learning resources: