HTML is an abbreviation for HyperText Markup Language, which is a presentation language for creating an Internet site. Strictly speaking, HTML is not a programming language, but a simple language for website design. Today, HTML is mostly used to create a “skeleton” of a web page, while web site design is done through CSS. Showing HTML documents allows a web browser. The HTML document consists of tags that define how the web browser will show something. Tags within an HTML document generally open with <tag_name> and close with </ tag_name> (e.g., <body> Some web site content </ body>).
The basic html tags are:
- <html> </ html> – the main tag where all the other tags are located
- <head> </ head> – a header tag with tags:
- <title> Site Name </ title> – Defines the name of a web page
- <meta name = “description” content = “Some web site description” /> – There are many types of meta tags, and serve to help internet search engineers index content, formatting social network views,
- <body> </ body> – contains all the elements and tags that the user sees when he opens the web page
- <p> denotes paragraph – paragraph </ p>
- <a href=”http://www.google.com”> Link </a>
- <b> bold text </ b>
- <i> italic </ i>
- <img src = “http://www.web-stranica.com/slika1.png” /> – Displays the image
Today, “pure” HTML pages are rarity. HTML pages are static, and to make any changes you need to edit the HTML code in the document. To make the website dynamic, various other technologies such as PHP, ASP, JavaScript, AJAX, … are used. The foundation of each website is HTML and the knowledge of the mentioned is impossible to make a web site. But HTML does sometimes make up less than 10% of the entire code of the website / application.