When surfing the web, most websites you see are the results of rendered HTML and CSS code. HTML stands for hypertext markup language and it is used to describe the structure of a webpage. In this post, we will discuss how to get started on creating a basic webpage using HTML.

Let’s get started!

In HTML, structure and semantics are specified using tags (also called elements). The elements for structural markup include the header, paragraph, bold, italic, line break, subscript and superscript elements. Let’s start by discussing the header tag.

Headings

In a terminal, use a text editor to create an ‘.html’ file. I’m using the VI text editor:

vi my_website.html

Next, let’s create some headers in our file. To create a header you use an opening tag

followed by the text you would like to place in your header and a closing tag

. Let’s create a header for our website, which will be a blog for new indie rock album releases:

<html>
    <h1>New Indie Rock Music</h1>
</html>

#programming #technology #web-development #website-design #html

Getting Started with HTML
1.05 GEEK