HTML stands for HyperText Markup Language (literally “hypertext markup language”). Created in the late 80s by Englishman Tim Berners-Lee, who is trying to invent a new method of exchanging information with fellow scientists from the European Laboratory for Particle Physics in Geneva. The essence of his method is to create text documents, bound together by hyperlinks that can be transferred through the network to the remote user. So there is a need of a special language to create this type of document.
HTML is the most widely used language for writing web pages.
HTML uses tags (tags) to mark certain elements of websites and allow their performance as headings, paragraphs, lists, hyperlinks and more.
HTML tags are commands that are indicated by the characters “<” and “>”, eg.
HTML tags often form a pair of opening and closing tags, for example. pair tags for paragraph is:
and. The text enclosed between
and will be presented on the website as one paragraph.
HTML documents describe web pages.
HTML documents, called web pages contain tags that do not appear on the pages and plain text.
HTML documents are essentially text files and can be created and edited using a text editor like Notepad. More text editors used in the creation of HTML documents, you can read in the article text editor.
browsers such as Internet Explorer, Firefox and Google Chrome read HTML documents and display them as web pages. They showed no HTML tags, and use them to interpret page content.
HTML documents are saved as files with the extension .htm or .html. There is no difference in operation between .htm and .html – .htm extension of time extensions files have been only three characters.
Organisation for the standardization of HTML called World Wide Web Consortium (official site www.w3.org). People ask her all the proposals for amendment and supplement of HTML. The latest version of the language is HTML 4.01. World Wide Web Consortium prepared the next generation of HTML, which is called XHTML (Extensible HiperText Markup Language). Between HTML and XHTML, there are several differences: In HTML, it does not matter whether the tags (command language) is written in big or small letters.
In XHTML tags are required to be displayed in lowercase. For example, the command newline e BR, the letters are enclosed in angle brackets (as all commands in the language). In XHTML necessarily be small letters.
HTML is not required closing values of the control attributes in quotes. In XHTML requirement for putting double quotes. For example, attribute width table, which is width, assuming they must have a value of 150 pixels can be written in HTML so: width = 150. In XHTML attribute value must be in quotes, ie look like this: width = “150”. 3. Almost all of the tags in HTML are entered in pairs – start and end tag. There are several commands that do not end (closing) tag. In XHTML necessarily all commands have closing tags. If the command has no closing tag, then in the opening tag is displayed and forward slash for the closing tag, this feature has to be one step away from the end of the command text. For example, the command newline
no closing tag.
Almost all the attributes in the HTML set some value. There are attributes that have no value. In XHTML necessarily all attributes to set a value. Once an attribute no value in HTML, then to XHTML as a value is assigned the name of the attribute. For example, attribute to remove the shadow of the line is noshade and it has no value, so to XHTML must be written so: noshade = “noshade”.