HTML : More about tables

In the last articles we discussed some of the fundamentals about the tables in HTML. In this article we will be discussing more about them. So let’s start with spacing and padding in HTML tables. Adding padding and spacing to table cells You can also specify a cell’s spacing and padding. Padding is the space between the cell’s content and the cell’s border. Spacing is the space between adjacent cell’s borders. Cell padding and spacing can be given either pixel values or percentages. <table cellpadding="5" cellspacing="10%" /> Percentages are the space’s or padding’s…Read more

HTML: Use of Tables

“HTML tables” is one of the most important features of the HTML. You can use HTML tables to present tabular data on a web page. You can also use tables for page layout. Tables allow data to be arranged into rows and columns of data cells. You can put just about anything in a table’s cells, including images, paragraphs and even other tables. This flexibility makes tables useful for page layout and presenting tabular data. In this and some subsequent articles you will learn more about tables and how to use them properly…Read more

HTML: Image Maps

Image maps are one of the most interesting ways of using an image in your HTML web page. This article assumes that you have gone through all the previous articles regarding the use of images in your HTML web page. If not, it is highly suggested that you should go through them in order to understand better the use of images and different techniques to make it efficient and effective. In this article the creation and different uses of image maps in your web site is discussed. So what is an image map?…Read more

HTML : Adding Link to Images

A common practice on web is using images for hyperlinks. It is easy. Instead of wrapping text in <a></a> tags, wrap the <img/> tag in them. There is one slight problem; internet explorer and Firefox place a blue border around the image. This makes sense, the image is a hyperlink – your browser wants to notify the reader of this fact. But most of the times, the border appears aesthetically out of the place. Removing the border is really simple. If you are happy to use any deprecated tags, then you are free…Read more

HTML Basics: Images

In the previous article we have discussed about the image optimization to make efficient use of images in HTML web pages. This article is about the other areas associated with the uses of images in HTML web pages. So let’s start with the addition of images in our web pages. Img tag The “img” tag is used to insert images in the HTML web pages. This element has several attributes. We would be discussing specifically about the src attribute, the height attribute, the width attribute and the alt attribute. The deprecated align attribute would be discussed…Read more

HTML Basics : Images and Web Pages

Images are crucial part of a website. So it’s important to discuss about the use of images in your web page. In this article we would be discussing about some common areas that are associated with the use of images in a web page. Image optimisation These days, when high speed internet is accessible from every place imaginable, image optimisation is not really that important. But just to clear fundamentals and to get along with some basic conventions image optimisation is discussed here. Remember the following five points and you will do fine…Read more

HTML Basics: Anchors and Targets

“Target” is one of the attributes for the anchor tag. The target attribute specifies where to open the resource linked by an anchor element. Attributes of an anchor element that is <a>..</a> are explained below: _blank: if blank is used, the corresponding resource is opened in a new window or a new tab.  _parent: when using parent, the resource is opened in the parent frame. _self: self is used to tell the browser to open the resource in the same frame. _top: to make the browser open the new resource in the same…Read more

HTML Basics: Hyperlinks

Hyperlinks are the foundations of the World Wide Web. Hyperlink can be defined a location in the resource that has the address of or it points to another resource or another location in the same resource. With the help of URLs, a browser comes to know where it has to go when you click on a particular link. A URL is nothing but an address that identifies a location in the resource or the resource itself. These resources can be images, videos or other web pages. When a web page is loaded in…Read more

HTML Basics: Text Layout Tags

          The web mostly contains web pages that primarily comprise text. You can think of web pages as printed magazines containing a blend of text and photos. Thus formatting web pages is the task of formatting the text. Before you add any eye catching graphics to your web pages, there are some obvious formatting tasks that you would have to do. The text must be broken into paragraphs each section having a heading, long quotations must be set apart from rest, shorter quotations needs to be enclosed in quotes,…Read more

HTML Basics: Attributes in HTML

HTML attributes are the additional information provided in a HTML element. They are always specified in the starting or opening tag. Attributes are specified using name value pairs i.e., <opening tag attribute_name=”value”>. In this tutorial, we are going to see some commonly used attributes in HTML. Attributes in HTML Perhaps, the most common type of HTML attribute that you would be encountering most frequently is the “href” attribute. The “href” attribute is used to create hyperlinks in the web page. A hyperlink is the most common way of navigation or a medium of…Read more