
HTML
HTML (Hyper Text Markup Language) is the basic markup language for creating web content. HTML tags: h1-x6, p, img, div, meta tags, and their attributes. The structure of the website and its elements. Website design.
Elementary
HTML (HyperText Markup Language) is a basic markup language designed for creating web content. It was found in 1990 in the laboratories of CERN, the world's center for nuclear research, when the Web itself was created.
Web inventor and father Sir Tim Berners-Lee is currently at the helm of W3Concorsium. The W3C is the highest instance that prescribes the standards applied in web design. The web is based on html pages and their interconnections - hyperlinks, over the Internet. We can access the website: directly from the browser address bar, via hyperlinks from another page or from SERP (Search Engine Results Pages). A link is actually the address where a page is located.
Whether we are engaged in front end or back end web development, basic knowledge of HTML is essential.
HTML is easy to learn and after the second or third hour it is possible to wrap simple web pages.
Tags
Every html document is built using html bases, so-called tags. Tags in an html document are used to describe the elements that will be displayed on a web page in the browser itself. The contents of the elements of the website can be: text, images, multimedia; video, audio ... So we have different tags for different page contents
Each tag starts with an "<" sign and ends with ">". Example of a tag showing the most important and starting title on a page:
<h1> Tags </h1>
Most tags go in pairs, the start and end tags as in the previous example. "<h1>" is the start tag and "</h1>" is the end tag. Between the tags is inserted the text that will be displayed on the web page.
There are tags that do not have a final tag. They are called blank tags. Example "<hr>" is a closed tag that will display a horizontal line in the page.
Other tags may be inside the tags. Tags that contain other tags are called parents. Tags within another tag are called child. The following example shows the simplest web page with only one title. Below is an example, we will explain line by line of the document.
<!DOCTYPE html> <html> <head> <title>Tags</title> </head> <body>
<h1>Tags</h1> </body> </html><!DOCTYPE html>
- A declaration that instructs the browser that it is an html 5 version.<html>
- Each html document starts with this tag and ends with</html>
- Everyone else is included in these tags, and he is the oldest parent.<head>
i</head>
- tags contain other tags whose content is not directly visible on the page itself.<title>
Tagovi</title>
- subtitle tags are inserted inside the head tags and their content represents the title of the page displayed in the browser tab.<body>
</body>
- Between these tags are inserted all other tags that are displayed in the website itself.<h1>
Tagovi</h1>
- These tags are used to display the main title in the page itself.Attributes
All tags can have attributes. Attributes are used to add more information about the content of the element to which they are assigned.
Attributes usually, go in pairs, attribute = "value".