Today most of the people have seen hundreds of web pages but many will wonder what is HTML? What is it for? How does it work? Is it difficult to write in HTML? Where can I write HTML? And other questions like these will be answered below.
If you search on GOOGLE or any other search engine for the definition of HTML, you will probably find this:
“HTML is a markup language that is used for the development of Internet pages. It is the acronym that corresponds to HyperText Markup Language, that is to say, Hypertext Markup Language”.
However, this type of definition does not tell us much because the definition is technical. For some people when reading this, they think that HTML includes the graphic design of web pages, however, that is not true since HTML only serves to indicate how the content of a web page is ordered. It does this through hypertext marks which are labels known in English as tags.
So far we already have an idea about what HTML does but we still don’t know how tags work. For this we are going to imagine that they have to do an essay on some topic, we will consider that the essay will be our website and the way in which an essay is ordered is by a title, the introduction, the development and the conclusion, if you have Bearing in mind that this tells us how our essay should go, we can consider that these would be the labels because they tell us the structure it carries, that is, the way the text is arranged in our essay. It is worth mentioning that the tags not only serve to order our content but also help search engines such as Google, Yahoo search and many others to find the information through the tags.
Now that we understand the concept of labels, we need to be able to identify them. These are characterized because they go within the less than
<and greater than characters
>, as in this example:
<here the meta tittle>
Although that is not all because they must have a beginning and an end. The beginning of a label is normal, in other words it has the two characters that I mentioned above and within these is the name, however, there is a difference for the end of the label since before writing the name of the label we must write a diagonal
/. Like in this example:
<meta begin> </end meta>
There are certain exceptions with the end of the labels, since some are usually only used with the beginning of the label, examples of this are the BR (line break), IMG (label to put an image) labels, among others.
We are almost ready to write HTML but we still need to see the structure of an HTML code. Our code must always start with the HTML tag. Below is an example of the structure of the HTML code. Now we will see a small example of the body of an HTML code with some effects on the text such as italics, underline, bold.
HTML is the language with which the content of web pages is defined. Basically it is a set of labels that are used to define the text and other elements that will make up a web page, such as images, lists, videos, etc.
HTML was originally created with informational informational purposes with text and some images. It was not thought that it would be used to create a multimedia leisure and consultation area (which is currently the web), so that HTML was created without responding to all the possible uses that were going to be given to it already. all groups of people who would use it in the future. However, despite this poor planning, if modifications have been incorporated over time, these are the HTML standards. Numerous standards have already been submitted. HTML 4.01 is the last standard as of February 2001. Updated to May 2005, at the moment version 5 of HTML is about to be presented, of which we already have an almost final draft.
HTML is an element markup language for creating hypertext documents, very easy to learn, which allows anyone, even if they have not programmed in their life, to face the task of creating a website. HTML is easy and we will soon be able to master the language. Later on, professional results will be achieved thanks to our design skills and our artist’s vein, as well as the incorporation of other languages to define the format with which the webs must be presented, such as CSS .
Once we know the concept of HTML, we are going to tell you some more things. This language is written in a text document, so we need a text editor to write a web page. Thus, the file where the HTML code is contained is a text file, with one peculiarity, which has an .html or .htm extension (it does not matter which one to use). So when we program in HTML we will do it with a text editor, as simple as possible and we will save our work with an .html extension, for example mypage.html
To anticipate a bit how HTML is used, we will tell you that the language consists of tags that have this form
<P>. Each tag means one thing, for example, it
<B>means that it is written in bold (bold) or it
<P>means a paragraph, it
<A>is a link, etc. Almost all tags have their corresponding closing tag, which indicates that from that point on it should not affect the tag. For example, it
</B>is used to indicate that you stop writing in bold. So HTML is nothing more than a series of tags that are used to define the content of the document and some basic style.