Welcome to the HTML world, and this is also the introduction for you to know what HTML is and how it is applied, to understand why it is important whether you are a professional or amateur website maker. must know through it. Even people who are not very relevant like editors need to know HTML, why? After going clear back.
HTML is the acronym of the phrase H yper T ext M arkup L anguage (More in http://vi.wikipedia.org/wiki/HTML ) translated Markup Language Hypertext , is used to create a The website, on a website may contain multiple pages and each page is referred to as an HTML document (sometimes I will write an HTML file). The father of HTML is Tim Berners-Lee , who also gave birth to the World Wide Web and the president of the World Wide Web Consortium(W3C - organization that sets standards on the Internet environment).
An HTML document formed by HTML elements (HTML Elements) is specified by tags (tags), these pairs are enclosed by a parenthesis (for example <html>) and will usually be declared into a pair, including opening and closing cards (for <strong>example </strong>and). Documents that want to be marked with HTML will be declared inside the tag pair (for example <strong>Đây là chữ in đậm</strong>). But some special tags do not have a closing tag and the data declared will be in attributes (such as tags <img>).
An HTML file will include HTML elements and be saved in the extension as .html or .htm .
How is HTML processed?
When an HTML file is formed, processing it will be done by the web browser. The browser will act as a reader to understand the HTML content from the internal tags and will switch to the highlighted text for reading, listening, or understanding (understood by computer bots).
What role does HTML play in the website?
As I said, HTML is a hypertext markup language, so it will play a role in building hypertext structure on a website, or declaring digital files (media) like images, videos, music.
The role of each language in the website
That doesn't mean using HTML only to create a website that HTML plays only a formative role on the website. For example, a website like Thachpham.com will be formed by:
HTML - Build the structure and format of hypertext.
CSS - Formatting raw hypertext generated from HTML into a website layout, with colors, background images ...
PHP - Programming language to handle and exchange data between the server and the browser (for example, posts will be stored in the server).
MySQL - Structured query database management system (SQL - for example, posts will be saved with SQL data form).
But here, you only need to care about HTML temporarily. Easier to understand, think that if the website is a complete body, HTML is the skeleton of that body, it is like a frame.
So, no matter what kind of website the website is, communicating with any programming language to handle the data, you still need HTML to display the content for visitors to see.
By the way, I also say, the website has two main types:
Static website (static web) - A website that does not communicate with the web server to send and receive data but only the data that is declared by HTML and the browser.
Dynamic web site - As a website will communicate with a server to send and receive data, the data will be sent out to users in HTML documents and the browser will display it. In order for a website to be able to communicate with web servers, it will use some server-side programming languages such as PHP, ASP.NET, Ruby ... to implement. For example, a website made with WordPress is a dynamic website.
HTML reference resources
In this series, I have not talked all about the tags in HTML but only through the most important tags because you will use it often. So, go to the HTML Reference page to refer to the meaning and usage of all HTML tags.