HTML Archives - Ian Carnaghan

How to open all links in a New Browser Window

Insert the following code between the <head> and </head> html tags. <base target=”main”> After inserting this piece of code all links should open in a New Browser Window.

Mar 22 · 7 sec read >

What is the purpose of the pre html tag?

The text displayed within a pre element is displayed in a fixed width and a default font. Spaces and line breaks are both displayed as typed. So text that...

Mar 22 · 19 sec read >

How to adjust the width of a HTML combobox (Drop down box or Select box)

You can use external CSS (Cascading Style Sheets) or Inline Styles. NOTE: External CSS stylesheets are best to use. Example using inline styles....

Mar 22 · 19 sec read >

How to add/implement a Click-2-Call link for your Mobile web page

If you have a mobile website and you need to add a click to call link this method could...

Mar 22 · 18 sec read >

How to add a Google Map to your mobile website

First of all we can only use a static map, since Google Maps uses Javascript to zoom etc and most phones on the...

Mar 22 · 34 sec read >

How to make an html input field readonly

You need to use the READONLY attribute for the input field. Readonly only prevents the user to change data in the input field. Example:...

Mar 22 · 7 sec read >

Creating Superscripted text in HTML

Superscripted text can be used on your website by placing text between the <sup> tag Superscripted text comes in handy to express exponential expressions eg 23 = 8or footnotes to draw attention. By placing...

Mar 22 · 9 sec read >

How to turn off Caching using HTML in a webpage

Add the following code between the <head> tags in your HTML page <meta http-equiv="Expires" content="0" /> <meta http-equiv="Pragma" content="no-cache"...

Mar 22 · 9 sec read >