From 8f05a7af67c830296d6ed2297cf451fc9284c8c8 Mon Sep 17 00:00:00 2001 From: rsgs Date: Wed, 26 Dec 2018 22:40:27 +0000 Subject: [PATCH] tutorial on basic html structure (#26343) Added explanation on how the structure of the html file works and explained it's elements. --- guide/english/html/tutorials/basic-html/index.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/guide/english/html/tutorials/basic-html/index.md b/guide/english/html/tutorials/basic-html/index.md index 60efc29392..ab0abccb61 100644 --- a/guide/english/html/tutorials/basic-html/index.md +++ b/guide/english/html/tutorials/basic-html/index.md @@ -4,18 +4,31 @@ title: Basic HTML ## Basic HTML +The basic structure of HTML always starts with a document type declaration: `` + +You will need to add the `` tag after the document type and close it with a `` tag. This will be your actual HTML document. + +The first element you will insert in your HTML will be the `` tag that will contain all metadata from the website such as its title, styles, links and other elements. This element needs to be closed with a `` tag. + +The visible part of your HTML lies within the `` tag which will be inside the `` tag, and will also need to be closed with a `` tag. + +Below you can see the structure of a basic HTML file: + ### Basic Page Structure: ```html + + ``` + ### Sample HTML Program ```html