Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
What is HTML? | Understanding Basic Elements
HTML for Beginners
course content

Conteúdo do Curso

HTML for Beginners

HTML for Beginners

1. Understanding Basic Elements
2. Working with Semantic Elements, Multimedia Elements and Graphics
3. Working with Advanced Elements

What is HTML?

HTML is a language for creating web pages. HTML stands for Hyper Text Markup Language. Hypertext means we can add links to other web pages within a web page. Markup means HTML consists of a list of tags that defines the structure of a webpage. These tags have a specific meaning.

The information you want to display should go between open and closing tags. For example, if you want to write a paragraph, you must write it between open tags <p> and closing tags </p>.

Once you write your HTML codes in a text document, you have to save it with a .html extension. Then you can open it using a browser like Chrome. The browser will show your content according to the markup tag you used.

html

index

css

index

js

index

copy

There are 4 important tags used in every HTML5 web page. Those are:

  • <!DOCTYPE html> tells the browser that this is an HTML5 document;
  • The <html> is a root tag. All the HTML code (except for the <!DOCTYPE> tag) should go within it;
  • The <head> tag contains information not displayed on the web page. You will learn about the head tag later;
  • The <body> - all the information you want to display on the web page goes here.
html

index

css

index

js

index

copy

As you can see, the code runs from top to bottom one, line by line. You can add as many lines of code inside body tags.

Finally, it's important to remember that HTML is not case-sensitive. For example, <p> and <P> both work the same way.

Tudo estava claro?

Seção 1. Capítulo 1
We're sorry to hear that something went wrong. What happened?
some-alt