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
12th

Attributes of HTML Frames and Frame Types

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

Frames are used to divide a window into two or more scrollable sections. In each section different documents can be displayed or various parts of the same document can be linked together. Like any other HTML element each frame can be given a name, its dimensions can be set, its alignment can be defined, the borders and shades can be applied and finally a particular HTML file can be linked with it which is to be displayed. Apart from this some advanced operations such as defining the loading/unloading behavior, scroll behavior, style sheets etc. can be also performed on the frames.

HTML frames use the following attributes to behave in a particular manner and display the desired document:

• Name: It is used to link the frame to any addressable object. When a name is assigned to a frame then it can be targeted by the links in other documents. However it is not mandatory to use this attribute. By default all the windows are unnamed, but if you want to target the contents of the frame then the name attribute are necessary.

• Source: This attribute is used to display the desired HTML page in the frame.

• frameborder: This is used to set or unset the border between the frames. If the value of this attribute is 1 then a border will appear and if the value is 0 then there will be no border.

• marginwidth and marginheight: These two attributes are used to specify the frame margins both sideways and vertically respectively.

• noresize: It is used to restrict the end user from resizing the frame.

• scrolling: This one is used to define the scrolling mode of the frame. If its value is yes, then the frame will have a scroll bar. If the value is no, then the frame will have no scroll bar, and if its value is auto, then the frame will have the scroll bar only if the document size is larger than the frame.

Because of these attributes different types of frames can be created. For example:

• Static Frames: These types of frames are fixed and display only static documents. They are used to display that information which the user can see all the time, such as logos, copyrights, buttons, graphics etc. The user cannot affect the behavior of such frames by doing any activity.

• Live Frames: These frames responds according to the user’s input. They are very interactive in nature and generally contain interactive forms, videos, audio and multimedia content.

• Functional Table of Contents: These types of frames are used to display interactive table of contents on one side and when the user clicks on any topic the document linked to that link is displayed in the adjacent frame.

• Single Page Query and Answer Displays: These types of documents have two sections, one containing the query from which has to filled by the user and the other section displays the answers to the query interactively.

Apart from these, several other types of frames can be designed and customized using different attributes according to the requirements.


Jul
2nd

Web Publishing

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

After creating the most fruitful and advanced HTML documents, the next important task to do is putting them on the World Wide Web so that it can be visible to general public for use. The practice of hosting your web site on the internet is known as web publishing. Publishing your web site is very important because until you do that there is no use of creating the HTML pages. Web publishing or web hosting makes your web site go live on the internet. There are several companies which provide web publishing services. All you have to do is purchase a domain name and also pay an amount for the maintenance and updating of the site to these companies.

Before you can upload your HTML documents on the internet there are three main things which are needed:

1) Space on the web server
2) Procedures for uploading the file
3) Software for uploading the file

Some ISPs (Internet service Providers) may offer you a definite amount of space on the web and charge you for that on monthly basis. In fact you can purchase some megabytes on the web server to upload your HTML documents on that. Another alternative is to contact the companies specializing into web hosting if you want to get gigabytes of space on the web server for your web site. These companies have different types of flexible plans in which you may also get the maintenance and regular up-gradation of the site. You can subscribe to any of the plan according to your budget, needs and aspirations.

If you know about technical nitty gritty of web publishing then you can also set up your own web server but this will require a lot of efforts on your part and demand large amount of finance and time.

Components of web Publishing:

The vital components of web publishing are web browser, web cookies and web server. Web browser is needed to view the web site once published. A web server is required in order to publish your web site. It is responsible for replying to the web browsers and sending them the web pages requested. All the HTML files reside on the web server if published. Finally, the web cookies are also needed in order to surf the internet smoothly. Web cookies allow the web site to store the important information about the user on his computer which can be used in future. Web cookies also track the number of visits to a particular web site.

The most convenient way to publish your web site is to use CuteFTP. In order to use it you must ensure that all the HTML files are saved in a folder. After that you can upload the files form your folder to the folder which you will get on the web. One thing which should be noted is that you must buy a domain name and give your web site a unique URL while uploading it.