Logo en.artbmxmagazine.com

Techniques to energize a web page

Table of contents:

Anonim

In the first web pages, when the development of what we know today as WWW (World Wide Web) began, the information was presented in text format. The users all read the same thing and with the same appearance.

This content presentation was done by coding the pages with HTML (Hypertext Markup Language), which by its very nature is static when viewing content. That way, any browser that supported the HTML standard could view the page.

By indicating that the pages were static, we mean that their content does not change when downloaded from the server and viewed in our browser. Pages can have elements that move like animated gif graphics, but this does not add dynamism to the pages, it can simply make it more attractive or enjoyable.

They lacked the dynamism that will allow the user to interact with the content of the page, even modifying it if necessary.

This ability of web pages to include animations has been, among others, one of the factors why the Internet has had such wide and rapid acceptance in all areas. Its availability from any point where the telephone reaches and its use by all types of users, whether in the private, work or professional sphere, has prompted companies to use the Internet as a channel through which to offer all kinds of services:

  • Commercial information about your products Internet banking E-commerce Customer service On-line training Job offers Seekers Procedures with official bodies

etc.

Techniques to energize a web page

This type of service usually requires a page layout capable of doing more than just displaying text statically, whether or not they have animated graphics. It is necessary that this type of page is able to interact or at least respond to the actions of users in an "intelligent" way.

The solution adopted to respond to these needs currently involves including code blocks outside, but complementary to, the HTML standard in web pages. Notable among these are JavaScript scripts and applets.

JavaScript scripts or scripts

A JavaScript script (better known as a "script") is a block of code that can be inserted into a web page (between the HTML code), or be itself an independent file, activatable from any page. The latter allows us to write it only once and use it from different pages, as has been done in these www.begues.net.

There are basically two languages ​​that allow you to design JavaScript scripts. Netscape JavaScript and Microsoft VBScript. JavaScript has been the first language developed for this purpose and is accepted by the vast majority of browsers (Opera, Netscape, Internet Explorer,…). The VBScript language is only accepted by Internet Explorer.

Both languages ​​have common characteristics:

  • They are easy to learn, They are simple to implement as they do not need cumbersome compilation processes, They include functions to modify the properties of HTML tags.

Thanks to the use of scripts, the appearance and / or content of a page can be changed once downloaded, to adjust it to the characteristics of the browser, user preferences or even the mere fact that the user is new or not when visiting us.. We can change the position of any element on the screen, its colors, whether it is displayed or not, and everything we can think of without having to reload the page.

The set of features that can be obtained with these scripts is what normally constitutes a dynamic page.

We invite you to visit our page dedicated to JavaScript, if you want more information about it.

Techniques to energize a web page