Introduction to HTML

Martin Jung

28/07/2022

What is HTML?

HTML stands for Hyper Text Markup Language and is a markup language that tells the browser what and where the browser should display something. So the basis of the website. If there is nothing here, you have a blank page.
HTML simply consists of a collection of tags. In the next lesson we will start building a page, what are tags and how can we use them?

An HTML file can in principle have any name but will have to have the extension .htm or .html, although the latter is preferred. By default, the browser will load the file named index.htm or index.html first. Usually, the latter will be seen first. File names usually have a logical name.

HTML Learning Objectives:

● Elements and Structure
Learning about HTML elements and structure, the building blocks of websites.
● Semantics
Write clearer, more accessible HTML with Semantic HTML tags.
● Read web page structure
Learn to read the structure and structure of a web page without seeing the code.

What are tags?

A tag is a kind of command that starts with a < and ends with a />, in between is the actual command that indicates what it is or should do.

Example:

Result: This is a bold text

In this example, the b stands for bold. What stands out, in this case, is that it starts with a <b> and ends with a </b>. So a beginning and end of this tag. If you don’t finish this, the rest is also bolded. With a few exceptions, there is always a start tag and an end tag.

The exceptions are:

During these lessons, quite a few will come along, but certainly not all. Tags often also have elements to which additional information can be given, such as forms.

A standard blank page looks like this:

As we see, an HTML document starts with the and ends with.

Here we find 2 parts, namely the HEAD and the BODY after the identically named tags.

In the HEAD we find things like TITLE, LINKS, etc., and the META tags. The TITLE is the title that the browser displays in the tab. In LINKS we find, among other things, references to the stylesheet of the CSS. with regard to the META, this is a separate chapter.

In the BODY we find the actual content of the page.

An HTML file is read from top to bottom and is therefore structured logically. However, this does not mean that everything is on the screen in that order by definition. This is partly determined by the CSS (and JavaScript)

Related Posts

Leave a comment.

0 Comments

Submit a Comment