Everyone uses the Internet and everyone browses various sites, and, probably, everyone would like to place their site on the Internet, but this is not easy to do, there are many reasons for this. However, in order for you to be able to host a quality website, you just need to know the basics " WEB programming", Which is hTML language... In this article we will look at the basic elements, tags, attributes, and even write the first web page.
Hyper Text Markup Language - "HTML" ( hypertext markup language) many have long ceased to consider it just a programming language. Since the very concept of HTML includes various methods of formatting hypertext documents, design, hypertext editors, browsers and much more. A user who has mastered this language acquires the ability to do serious things simple methods and, most importantly, quickly, that in modern world considered very good!
In the HTML language, you can create your own multimedia products and distribute them on cd-disks, and all these products, made in the form of sets of HTML pages, do not require the development of specialized software tools, since everything you need to work with data ( Web browsers) became part of the standard software most personal computers.
- Element (element) - HTML construction. It is an object that contains data and allows you to format it in a specific way. Any Web page is a collection of elements. One of the main ideas of hypertext is the ability to nest elements.
- Tag (tag) - the start or end markers of the element. Tags define the scope of elements and separate elements from each other. In the text of a Web page, tags are enclosed in angle brackets, and the end tag is always enclosed with a forward slash.
- Attribute (attribute) - parameter or property of the element. In other words, it is a variable that has a standard name and which can be assigned a certain set of values: standard or arbitrary. Character attribute values \u200b\u200bare assumed to be enclosed in straight quotation marks, but some browsers allow you to omit quotation marks. This is because the type of an attribute is always known in advance. Attributes are located inside the start tag and are separated from each other by spaces.
- Hyperlink - a piece of text that is a pointer to another file or object. Hyperlinks are necessary to enable you to navigate from one document to another.
- Frame (frame) - this term has two meanings. The first is a document area with its own scrollbars. The second value is one image in a complex ( animation) graphic file (similar to a still from a movie). It is also possible, instead of the term "frame" in special literature and localized software products, you can find the term "frame" or "frame".
- HTML file or HTML-page - a document created in the form of hypertext based on the HTML language. Such files have htm or html extensions.
- Applet (applet) - a program transferred to the client's computer as a separate file and launched when viewing a Web page.
- Script or script ( script) - a program included in a Web page to expand its capabilities.
- Expansion (extension) - an element that is not included in the language specification, but is used, providing the ability to create a new interesting effect formatting.
- CGI (Common Gateway Interface) is a general name for programs that, running on a server, allow you to expand the capabilities of Web pages. For example, without such programs, it is impossible to create interactive pages.
- HTML code -hyper text Document in its original form, when all elements and attributes are visible.
- Web page - a document (file) prepared in hypertext format and posted on the World Wide Web.
- Website (site) - a set of web pages located in one place and related to each other.
- Browser (browser) is a program for viewing Web pages. () - copying files from the server to the client computer.
- Url (Uniform Resource Locator) or a universal resource locator, the address of some object on the Internet, i.e. a typical WWW URL is: http: //www.name.domain/filename.
All elements of the language can be roughly divided into three groups. The first includes the elements that create the structure of the hypertext document. The use of such elements is a necessary formality that cannot be neglected. The second group includes elements that create formatting effects. Their use is dictated by specific requirements for the document, imagination and competence of the developer.The third group includes elements that allow you to manage by softwareinstalled and running on the client computer. Often, such elements are created automatically when a developer uses a hypertext editor or similar program to insert an object into a document.
Despite the fact that the HTML specification is a standard, this language is supplemented with new elements ( extensions). Therefore, some Web pages are easier to view with certain browsers. Extensions are created only by well-known companies that develop software for the WWW, and ordinary users can improve their Web pages through programming. Applets allow you to remove the limitations of HTML and give the developer a lot of creativity.
HTML versions
The first version of HTML was developed in the early 90s by Tim BenersLee for one of the popular Mosaic browsers in the past. But then neither the browser nor the HTML itself had a good use yet. In 1993, HTML + appeared, and this version also went almost unnoticed. But HTML gained popularity thanks to version 2.0, which appeared in June 1994. And since that moment, the popularity of WWW has increased throughout the world. The standards included in version 2 became so established that they are still used today.
HTML version 3.0, which appeared about a year later, introduced the ability to draw mathematical symbols ( integral signs, infinity, fractions, brackets, etc.) using language elements. But the development of this project stalled and did not gain further distribution.
In 1996, HTML version 3.2 appeared. It was a brilliant decision, suffice it to mention that frames were introduced into the language specification, which are now quite popular with website developers. To this day, all browsers support this version of HTML.
The official HTML 4 specification ( Dynamic HTML) was developed in 1997. At this time it was already obvious that the further development of hypertext will be carried out through web programming. This turned out to be much more efficient than introducing new elements into the language.
Web page structure
Below is the code of the Web page, which is made in HTML, and using this page as an example, we will analyze its structure, but first, copy all the code into a regular text notepad and click "Save As" and save the file with the html extension, that is ... after the title write.html
Go to<а href ="#list">Start of document
the main text of the web page.
And I, for example, will insert here
several hyphenation,
so that you can
clearly observe
how does it work for you
links within the document,
otherwise if you have a high resolution,
You just won't notice the following links.
<НR>
<а name="list1"