banner
Welcome to HTML.co.uk, the number one resource for all news, information, and happenings regarding HTML.

Updates: HTML.co.uk has just been relaunched. Subscribe to our RSS Feed to stay on top of HTML news and techniques.
Sep
8th

Securing HTML Documents

Author: Editor | Files under HTML Tutorials
Tags for this article: , , , , ,

If the internet has proved itself as a source of entertainment, international trade and knowledge, then it has also attracted hackers, spammers and other types of online criminal activities. Everyday a large number of web sites are hacked with the intuition of stealing the private data of companies, stealing credit card information, unethically discovering customer details and similar kinds of illicit activities. It is therefore important to keep the web pages secured 24×7.

To make the web a secure place to work, various tools are being designed everyday. There are different types of firewalls, anti-root kits, anti-virus, anti-spam tools available in the market. One can make judicious use of all of them as per his/her needs and network infrastructure. Besides these tools there are other methodologies also which should be considered while securing the web pages online. For example:

• Disabling the Guest account: Most of the Windows servers have a guest account by default. This account gives the users limited access to the server’s resources but as it does not asks for password anyone can log into the server and try to infiltrate the data somehow.

• Don’t forget to rename the Administrator’s Account: By default the Windows server assigns ‘administrator’ as the user name for the administrator account which has all the powers and access to all the resources. If you don’t rename this account then half the work has been already done for the hacker. Now he has to guess only the password.

• Take your passwords to the heights of complexity and ambiguity: The passwords should always be very, very complex. You can set a strong password policy for your servers to avoid successful password guess by the hacker.

• Disable the unwanted protocols: Not all the protocols running in the background are needed all the time. Thus it is recommended that all the unwanted protocols must be disabled as these protocols open up different communication ports on the network. For example if the Telnet protocol is enabled unnecessary then the hacker may get successful in establishing a remote connection with your server.

• Use SSL: SSL (Secured socket Layer) is a protocol which is developed to promote web security. It allows the use of a large number of encryption methods.

• Use SHTTP: SHTTP is a short for Secure Hyper Text Transfer Protocol. It is an extension of the standard HTTP protocol and is different from the SSL but is used for the same purpose; to deliver secured web pages.

• Use Certificates: Certificates can be used in order to ensure leak proof transactions over the web. It features user authentication. They are digitally signed electronic documents which verify the connection between a server’s encryption scheme and the server’s identification. All the digital signatures, cryptographic functions and trust policies are defined while issuing the certificates and they are issued by the third parties known as Certificate Authorities. In order to get a certificate for a web site one has to get registered with this authority. The digital certificate which is then issued is unique.


Sep
6th

Web Publishing Tools

Author: Editor | Files under HTML Tutorials
Tags for this article: , , , ,

Once the web site is complete the next important task is to publish it on the web. As a single web site can contain lots of HTML documents rich in multimedia content, hyperlinks and other real time resources it is quite difficult to manage the whole structure and publish each document on the World Wide Web perfectly. Thus in order to make the web publishing easy different companies has come up with a number of web publishing softwares which offer a large number of options and tools. Below are some of the popular web publishing tools:

Netscape Navigator Gold: It offers a visual editing environment that is same as a web page so that the user can edit and publish his HTML documents without getting confused. Netscape Navigator Gold includes a number of formatting tools, menu designers and text editors. Right from the visual appearance to directory structure management, the Navigator Gold is able to handle everything smoothly.

Backstage Desktop Studio: This one is developed by Macromedia and consists of a complete suite of web publishing tools to assemble and manage end-to-end HTML documents. The Backstage Desktop Studio specializes in Web authoring. It features WYSIWYG (What You See Is What You Get) interface which makes it easy to design the web page. Apart from this the desktop studio offers dynamic options for site management.

Page Mill and Site Mill: Both Page Mill and Site Mill are the excellent tools for web page design and publishing created by Adobe. Most of the features of these two applications are similar in nature and thus one can use any of them in place of each other.

The Site Mill is a perfect choice for managing and editing the HTML documents. It records the whole structure of the web site and checks each hyperlink for its reliability and functionality and the remaining content whether in the form of text or images, and displays all the errors.

The Page Mill can be used in two different modes, i.e. Browse Mode and Edit Mode. The Browse Mode is the default mode of the application and it allows you to view your page in exactly the same manner it will look on the web. In the Edit Mode you can make the necessary changes to your web site. Page Mill supports a variety of operations such as cut, copy, paste, RTF (Rich Text Format) support, image editing, hyperlink management, site map management, image maps management, web site navigation management, style sheets handling, form, frames, tables and much more.

Apart from all these applications there are other tools also which provides awesome options for editing and managing the HTML documents. Some of them are Adobe GoLive, HotDog, HotDog Pro, HoTMetal, HoTMetal Pro etc. All of them are equipped with the WYSIWYG feature. However there are some differences among them with respect to the Operating System needed, supported file extensions, processing speed etc. One can make use of any one or more depending upon his/her needs.


Sep
5th

Verifying and Testing HTML Documents

Author: Editor | Files under HTML Tutorials
Tags for this article: , , , , , , ,

Once the web pages has been designed it is very important that they are verified and tested completely before going live on the World Wide Web. Verification here means to check the HTML documents for a large number of errors and testing refer to the checking the reliability, functionality and compatibility of the web pages. During verification the HTML documents are generally examined with respect to their layout, typographic errors, grammatical mistakes and so on. In testing phase all the scripts, functions, applets, embedded tools, CSS (Cascading Style Sheets), DHTML effects etc. are checked.

If you are dealing with a complex web site containing a large number of HTML documents then verifying and testing each and every resource manually can be cumbersome. Therefore, in order to ensure high level of accuracy and to save time a large number of sophisticated computer programs can be used. Below are some popular verification services which can be used to test the web pages:

• Doctor HTML: This is a verification service which is used to analyze the contents of a web page in detail. It can be used for checking different aspects of the HTML documents such as spelling, images, the structure of the document, tables, hyperlinks, forms and much more. It should be noted that Doctor HTML is not a software which can be downloaded and installed in the computer, rather it is a web service (a Common Gateway Interface, CGI script) for which one has to subscribe in order to get his/her web site verified.

• Weblint: Just like Doctor HTML, Weblint is also a web based service which is used to test and verify the HTML documents. It can be used to check the basic structure of the website, to check for the unknown elements and attributes, tag context, overlapped tags, illegally nested tags, images, hyperlinks, obsolete tags etc.

• WebTechs: It is also a web based service which can be used to check whether a particular HTML document or web site conforms to the predefined standards or not.

• Some of the other web site verification services are Slovenian HTMLchek, U.S.M.A (United States Military Academy’s verification service), Harbinger and URL-Minder.

In case you have to verify a small number of HTML documents then it is recommended that apart from using the online verification services you check the web pages yourself also so that the chances of mistakes are minimized. While performing a manual check makes sure that there are no spelling errors, grammatical errors and formatting errors. The navigation structure of the web site should be checked for consistency, all the DHTML effects should be tested in order to see if they are working in the way they were supposed to and the tables should be checked for their alignment. Besides this, all the images, hyperlinks, background scripts and forms should also be checked thoroughly.

Site verification and testing is a continuous and dynamic process. As the web standards change from time to time the web sites are also updated frequently and retested according to the new standards and procedures.


Sep
5th

HTML Frames

Author: Editor | Files under HTML Tutorials
Tags for this article: , , , , ,

One of the most basic elements of the HTML document is the frame. A frame is basically a device which allows you to open two or more pages in the same window. Mostly the frame concept is used in cases where you wish to split the window. As is the case with many websites, the left hand side is like a navigation strip, a separate page which is a tabulated list of the topics with the relevant links, while the right hand side shows the content related to those topics.

Reading this you might be misled into believing that there are two pages in the window but there are in fact three pages. One tends to forget there is one page which is holding both the pages. This page is called the ‘container’ page, which contains both the pages. All we need to do is open this page and both the other pages automatically open in this page. The format of this page is similar to any other pages.

The HTML frames concept is generally regarded as quite complicated and very hard for new users to grasp. There is an on-going debate among the champions and critics of frames. The critics feel that frames are associated with a few problems, which is why they wish new users to avoid them.

One popular opinion is that they interfere with the basic concept of the web. The web is ideally supposed to be a group of pages, each page with a separate URL and these pages are simply interlinked. On the other hand, frames allow number of pages to have the same URL and when one bookmarks any of these pages, they end up with the URL of the container page.

A second problem with the frameset pages is that they are not browser friendly. Although not a problem now but a bunch of earlier browsers could not access the framed pages. Even now, when such pages are opened on devices other than computers, like palmtops or phones, they do not allow the browser to resize them which makes page viewing cumbersome. Similar to the resizing issue is the printing problem. Browsers find it hard to print such pages and the prints are never satisfactory. There is also the general overall feel that such pages are hard to code especially be novice coders.

Arguably the biggest problem with frames is that they are not search engine friendly. Even search engines like Google do not go through the content of the internal pages and only read the content of the container page.

The champions of frames on the other hand feel the benefits they create are worth a few hassles and they mostly cite the example of inline frames. Inline frames are special frames which circumvent most of the aforementioned problems. Inline frames are also called floating frames. The basic difference between these and the conventional frames is that these pages open in your container page like images or tables would. The coding for these is also quite easy and they present no obvious problems.


Jul
22nd

Data Binding

Author: Editor | Files under Uncategorized
Tags for this article: , , , , ,

So far we have discussed about various types of tags and objects of HTML documents but haven’t come across any methodology which can control the data embedded in them. In a simple HTML document the web browser cannot separate data from the content and thus the user can’t manage and manipulate it. In order to solve this issue the concept of Data Binding was introduced. Via data binding one can associate the data of a database with the HTML pages. Once the web page is downloaded and opened by the web browser the data associated with that page can be differentiated from the any other content and the user has full control over it. Data binding offers a vast array of new methods and properties for HTML tags which can be used to associate a database with the web page.

Data binding involves three basic steps:

1) Adding a data source to the HTML document
2) Binding HTML elements to the data source
3) Developing scripts to control the bonded database table

Adding the Data Source object to the web page

The first and foremost step towards data binding is to identify the data source and add it to the web page. In order to accomplish this The Data Source Objects (DSO) are used. DSOs are provided by Microsoft and are used for supplying data to the web browser. In order to do this, the DSO identifies the data source through various methods such as SQL queries, URLs etc.

Apart from this DSOs are also used to manipulate the data. It is used to give the user complete control over the data. DSO offers a large number of properties, events and methods in order to accomplish this.

The Microsoft’s Internet Explorer comes with two built-in DSOs. The first one is the Advanced Data connector (ADC) and the other one is the Tabular Data Control (TDC). ADC is meant to access the database via server and ODBC (Open Database Connectivity) components. TDC is used to access tabular data stores in the form of comma-delimited text files. Without the DSO no web page can get and access the data.

Binding HTML elements to the data source

It is very crucial to associate the HTML page to the Data source Object. With the help of DATASRC and DATAFLD attributes, the data can be bonded with the HTML elements. The DATASRC refers to the Data Source Object (DSO) and the DATAFLD refers to a specific column of the database. Both of them have to be defined in the HTML code in order to associate a database table with the web page.

Scripting of Data Source Objects

Once the data source has been identified and associated with the HTML document, the final step is to create a script for that which will allow the user to control the data in a particular manner. Without scripting the user cannot manipulate the data. Scripting is done by using different types of properties and methods of Data Source Object.


Jul
21st

Introduction to VRML

Author: Editor | Files under HTML Tutorials
Tags for this article: , , , ,

In today’s world the internet is growing at the speed of a jet. Day by day websites are being improved in terms of interactivity, entertainment, multimedia, graphics and animations. HTML documents now do not refer to the static pages which were used as the source of information only. In fact, the web is being used as the all in one entertainer for every age group.

Web sites based on gaming, animations, 3D graphics etc. are designed to provide the children the whole package of fun and excitement on their fingertips. Customers can look at the product features and virtually use the products before they actually buy it by real time simulation on World Wide Web. These miracles are possible only because of VRML language.

VRML, short for Virtual Reality Modeling Language is a language impeccably designed to facilitate hi-end 3 dimensional real time simulations on the internet. Initially, the SGML and its derivative HTML, both were designed to support two dimensional structures. But with the evolution of VRML, the internet standards have been redesigned in order to full utilize the 3D powers of the web. VRML uses various types of virtual reality objects and virtual worlds which uses three dimensional paradigms for different purposes. These placements of these objects with respect to each other can be defined using the VRML co-ordinate system. Once the positioning has been done, you can define the behavior of different elements of your virtual world.

VRML can be used to beautifully design the HTML documents. This language invokes life in the static web pages. You can do a number of tasks via VRML such as:

• Adding motion to an object
• Creating a virtual world
• 3D simulation of products
• Improving graphics
• Inserting event oriented tasks
• Controlling the behavior of various elements of the virtual world
• Embedding and controlling animations in HTML documents
• Inserting real time games in web sites

How to view VRML worlds?

To view a VRML world we need a VRML browser. A VRML browser is just like the other web browser but it has got additional features which support fascinating world of VRML. VRML browser reads a VRML file and displays the complex geometry, animations and lightning effects as a 3D world. If the 3D world allows navigation, you can examine the different objects of VRML world and navigate through it in an exciting way. VRML browser can be installed as a standalone software application or it can be embedded in the existing web browser as a plug-in.

The best VRML browser

There are a number of VRML browsers available in the market but no one is best. Every VRML browser has got its own set of benefits and constraints. While choosing a VRML browser one should keep in mind the cost, features, objective of using the VRML browser, extra features, hardware acceleration, scripting and overall performance. If you are using the VRML browser as a plug-in, you should also keep in mind that for which browser you need VRML before you select a particular one because for different web browsers different types of VRML plug-ins are developed.


Jul
18th

VRML Rivals

Author: Editor | Files under HTML Tutorials
Tags for this article: , , , , ,

Since its evolution in 1994, the most impressive web developer language VRML has been through a lots of modifications and upgrades. In the year 1997, VRML was upgraded for the first time and its name was changed from VRML94 to VRML97 (which is also known as VRML2 or VRML 2.0). This upgraded version of the web language became an ISO standard and was used to design home pages and sites offering 3D chat facilities.

As the web graphics and vectors began to improve, a lot of alternate languages emerged in order to provide better options for virtual 3D modeling and stood in the competition. The various alternatives to the traditional VRML language are:

A) COLLADA: It stands for COLLAborative Design Activity for developing interchangeable file format for 3D applications. This language defines an open standard XML schema which lays down the standards for exchanging the digital files among a number of graphic software applications.

COLLADA documents use XML files having a .dae (digital asset exchange) extension. This language was originally produced to facilitate transfer of digital data from one digital content creation tool to another DCC. This language is used by a number of popular applications such as Maya, 3D Studio Max, Google Earth etc.

B) U3D: Short for Universal 3D, U3D represents the compressed file format for 3D data. It was developed to get a universal standard for exchanging all types of 3D data.

C) X3D: It is a successor of VRML which was developed to enhance the VRML capabilities. X3D features various extensions to VRML such as Humanoid Animation, NURBS, GoeVRML etc. X3D defines a large number of extensions which are used for various purposes. Some of the popular X3D extensions are X3D Core, X3D Interchange, X3D CAD, X3D Geospatial and X3D Immersive.

D) 3DMLW: It is short for 3D Markup Language for Web. This is an XML based standard file format which is used for representing both three dimensional as well as two dimensional interactive content on the World Wide Web. 3DMLW is an open source engine and is licensed under GPL (General Public License).

In order to view and ripe the amazing benefits of 3DMLW, a 3DMLW plug-in or a 3DMLW standalone web browser has to be installed on the PC. The plug-in renders the 3D and 2D effects using the OpenGL (Open Graphics Library) standard. Thus it can be used under cross language, cross platform environments.

3DMLW separated the 2D and 3D objects and uses a text file format based on the XML 1.0 standard.

All the different 3D applications and graphic standards have their own abilities and disabilities. Therefore, one should keep in mind the objective of using these applications, the features of the applications, the cost and scalability factor while choosing one of them. You can also use more than one application and standard simultaneously to have a larger pool of exciting features as most of them supports cross platform functionality as well as backward compatibility.


Jul
16th

XML: The new Language of the Web

Author: Editor | Files under HTML Tutorials
Tags for this article: , , , , , ,

Since its evolution, the HTML (Hyper Text Markup Language) has been revised and upgraded a number of times in order to make the World Wide Web a better place to live virtually. HTML is a derivative of SGML (Standard Generalized Markup Language), but its major flaw is that it is not extensible. Thus HTML is not appropriate for deployment under a network environment.

So, the World Wide Web Consortium (popularly known as W3C) decided to develop a new breed of extensible language and came up with XML, which stands for eXtensible Markup Language. Web developers use XML to dynamically describe the information stored on a web page. Though XML, the new generation web pages describes themselves which is helpful to gain good rankings in search engine listings and help the developers to write codes for custom search tools.

• XML shall be straightforwardly usable over the Internet.
• XML shall support a wide variety of applications.
• XML shall be compatible with SGML.
• It shall be easy to write programs that process XML documents.
• The number of optional features shall be kept to the absolute minimum, ideally zero.
• XML documents shall be human-legible and reasonably clear.
• The XML design should be prepared quickly.
• The design of XML shall be formal and concise.
• XML documents shall be easy to create.
• Terseness in XML markup is of minimal importance.

(Source: http://www.w3.org/TR/REC-xml/)

XML is referred as a Metalanguage which describes other languages. It is called so because XML allows the web developers to create documents which describes themselves to their reader. Though the XML tags look like the HTML ones, the main difference between the two is that the HTML documents do not tell the web browser how to display the web page. On the other hand, the XML documents are downloaded by the web browser along with a style sheet or Document Type definition (DTD) which guides the web browser on how to display the web page.

In its raw form, an XML document looks like the HTML and SGML documents, but all are functionally different. The main difference between the HTML and XML coding is that the XML tags are very rigid. For example; the HTML language has tags which have a closing and which don’t have a closing section. But in XML either all the tags must exist in pair or announce to the reader that a closing tag is not present.

For example: in HTML you can use <BR> tag without having to close it, but in XML you have to use it as <BR>…</BR> or simply as <BR/> which announces that there is no closing tag for BR.

Another prominent difference between the two languages is that the XML requires all the tag attribute values to be enclosed within quotation marks. For example:

<font color=red>……</font>, this is wrong in XML. It should be like <font color=”red”>…….</font>