HTML Notes

HTML: How to add spaces within HTML Code

I f you add a space, HTML will normally remove it, but by adding the following within the HTML code you can avoid the space removal:

 

Be the first to comment - What do you think?  Posted by Capes - December 4, 2009 at 2:27 pm

Categories: HTML Notes   Tags:

Images in HTML Code

To add an image in HTML code, insert:

<img src=”image.jpg” />

Adding alternative text, is as follows:

<img src=”http://bahoot.com/image.gif” alt=”I am an image!” />

add image size details:

<img src=”http://bahoot.com/image.gif” alt=”I am an image!” height=”10″ width=”15″/>

Images as links:

<a href=”http://www.bahoot.com/”>
<img src=”image.gif”>
</a>

Be the first to comment - What do you think?  Posted by Capes - July 26, 2009 at 8:46 pm

Categories: HTML Notes   Tags: , , , , , , , , , , ,

Internet Explorer 6: The HTML Poison Chalice

Miscrosoft’s IE6 or Internet Explorer 6 is long been replaced, but its still in use by a lot of people.

How to crash IE6 using a simple line of code, easy:

Make a page with the following code:

<style>*{position:relative}</style><table><input></table>

What’s the use of knowing this, sorry for wasting your time!

Be the first to comment - What do you think?  Posted by Capes - July 20, 2009 at 10:20 pm

Categories: HTML Notes   Tags: , , ,

Next Page »