Experiment a little, and you should be all right. Good luck.

 

Web Design


Taking HTML Further.

HTML might seem like a simple language for web documents, and to an extent, it is – that's what it was intended to be. If you know what you're doing, though, you can do a lot more with HTML than you might think. This article should give you a few ideas on how to take HMTL further.

Inserting Multimedia Content.

Plain text and graphics are all well and good, but sooner or later you're going to want to insert some multimedia content, such as a Flash movie, or an audio or video file. Unfortunately, browsers don't handle these things themselves – they use plugins, and you have to know the code to activate these plugins. While this should be simple, it isn't, for various historical reasons.

To begin with, there are two ways entirely different ways of calling a plugin. Newer browsers use the object tag, like this:

object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="a href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"" target="_blank"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"
width="200" height="200">


That one's for Flash. To insert things like Quicktime or Windows Media players, you just need to find out their classid and codebase URL, as well as which parameters (param tags) they require. Most browsers now support the object tag, but some still use the embed tag instead:

embed src="/support/flash/ts/documents/myFlashMovie.swf"
width="200" height="200"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer


For most cases, you should include both – it's best to place the embed tag inside the object tag, as this will cause browsers that understand object to ignore your embed. As an extra fallback, you might want to insert a ‘plugin not found' message, with a link to allow users to download the plugin, but in most cases browsers should now do this for you automatically.

For Internet Explorer only, you can extend object tags to call plugins that are on your server instead of on your computer – this is known as ‘ActiveX'. Its most common use is to let users install web-based programs such as instant messengers without having to download and run a standalone install program.

However, you have to realise that many users will see ActiveX as dodgy, because it is an often-used way of installing undesirable software, and people who aren't using Internet Explorer just won't see anything at all. If you're designing a site for a limited set of users, however (such as an intranet), ActiveX can be a very powerful capability.

Tables.

Even though tables are rarely used for layout any more, they're still used for what they were originally intended for – actual tables of information! You'll probably need one at some point, but they're still as complicated as ever, so it's good to take a while to learn about how they work.

Basically, to create a table, you have to create the rows and columns individually: each table tag contains row (tr) tags, and each tr tag contains column (td) tags. A typical table looks like this:





month sales
January 200
February 300


This can be a difficult way to work, especially if your data is organised in columns, not rows. You just need to remember that the data you put in the tds will line up depending on their order in the tr: so, for example, 'sales', '200' and '300' will line up in a column, because they are all in the second td tag of each tr. You might find it easier to use tabs instead of spaces to separate the tds, so the table appears lined up in the HTML the same way it will on the page.

Once you see how that works, you pretty much understand tables – wasn't so hard, was it? The only thing left to realise is that you can make one td fill more than one column using the 'colspan' tag. In the example table, for example, you could add text that fills two columns by adding this row:

text
 

Search This Site

Web Design

 

 

 

Web Design


Why You Should Stick To Design Conventions.

... help files and FAQs just to explain it to them? Of course not. Part of the power of the web (as opposed to desktop programs, for example) is that it gives a consistent interface to all sorts of things. If you break this, then you're making your site require some learning to be usable. The web is competitive ... 

Read Full Article  


5 Ways To Avoid The 1998 Look.

... with the web and wanted exact control over everything, including the size of the web browser. Going to a site would give you a message like 'click here to launch', and the site would then try to open a new window automatically, with none of the browser's toolbars. This technique has always been bad (it ... 

Read Full Article  


Encryption And Security With SSL.

... should get the best you can. How Do I Use SSL? If your web host supports SSL, then it should already be all set up for you (if you host your website yourself, then you might like to take a look at the tutorials at modssl.org to get it installed). However, before you can use SSL, you need to get certified ... 

Read Full Article  


What Do You Want Your Website To Do?

... already know, you need to figure out exactly what it is that you want your website to do. What kind of thing do you want to put on it? Who are you trying to get to visit? Here's a quick guide to some of the most popular website types. The Business Card Website. For many people, having a website is something ... 

Read Full Article  


The Smaller, The Better: Avoiding Graphical Overload.

... compressed by 20-30% before there's any noticeable difference to the human eye. Try out different formats and compression levels to see what works. It Gets Too Busy. If you've ever tried to use a site that has more than three or four different images on the page at once, you'll know what I mean by that. ... 

Read Full Article