Showing posts with label Web Browser Compatibility. Show all posts
Showing posts with label Web Browser Compatibility. Show all posts

Web pages and their design are laid out using HTML. HTML stands for Hyper Text Mark-up Language. HTML is comprised of 'tags' or elements that tell your browser what the different areas of your webpage are. You can use these elements to define paragraph areas, images and their dimensions and also font sizes, colors and styles etc. There are many HTML elements and a lot of these have varying attributes like width, height, name, etc. This article will not focus on specific HTML elements; our aim is to give you a brief overview of HTML before moving on to how it has developed into HTML 5.

HTML came to life at the end of 1990. The original HTML, developed by Sir Tim Berners-Lee, comprised of about 20 elements which were strongly influenced by SGML, Standard Generalized Mark-up Language (The exception to this was the hyperlink tag that allows links to be placed in web pages).

As the internet became more widespread, users demanded more functionality. This meant a huge development in browser technology and also in HTML. In fact, HTML was developed to version 4.01 before evolving into XHTML which incorporates HTML 4.01 and XML (Extensible Mark-up Language).

With HTML 5 a lot more emphasis has been put on the use of 'Cascading style sheets'. This means HTML programmers can no longer depend on using 'tags' like 'font' to style text with color, size, and font type. This now has to be done using 'Cascading style sheets' or CSS. The use of CSS means, for example, the text style on a website can be updated or changed with one small change in the CSS rather than having to update or change every 'font' tag on every page. In fact, the 'font' and 'center' tags have been completely dropped.

A lot more importance has been placed on the use of 'JavaScript' and other client side programming languages that run in the visitor's browser. This style of creating website pages is now highly encouraged. This is known as DOM scripting or 'Document Object Model' scripting. The DOM or 'Document Object Model' is a representation of how your browser structures the page you are looking at. In the browser everything is seen as an object that can be manipulated in some way by a client side scripting language such as JavaScript. A simple example of this is to have a background image with a ball moving over the top of it. In the DOM these are known as layers.

HTML 5 also introduces various new elements such as 'nav', used to define navigation areas and 'footer', used to define an area at the bottom of a page that will be used as a footer. This article will focus more on the multimedia elements 'audio' and 'video'.

The HTML 5 'audio' and 'video' elements are a fantastic way of standardizing audio and video over the internet. This has been a long time coming. With so many operating systems being used to browse the internet it can be hard to decide what format to use. If we encode a video as a Windows Media File (WMV) it will not play on a Mac unless that user downloads a certain player or plug-in. The same can be said for encoding a video as a QuickTime file. It will play on a Mac but not on a Windows operating system unless a player is downloaded. And now we have so many variations of Linux operating systems being used, choosing an audio or video format that will play on all visitors' computers is a next to impossible task.

The 'audio' and 'video' elements in HTML 5 will make choosing multimedia formats a lot easier. We will probably use the OGG format for audio as it is completely open source and patent-free. This format is very similar to MP3, AAC, and VQF. We will probably use the H.264 format for video. This format has already been adopted by Adobe and so can be used in Flash based players. An example of this is YouTube.com. They can now provide HD video online because they have used the H.264 standard. What is interesting about this is that visitors using Windows, Mac, Unix and Linux can view YouTube.com videos without having to download a new player. All that is needed is the Flash plug-in, which is on most internet browsing computers. With the HTML 5 'video' tag we will no longer have to depend on Adobe Flash Media player to play H.264 video as a cross platform solution.

So, how will HTML 5 effect video streaming over the internet? It will make video streaming over the internet much easier as the 'video' element takes away the need to know high level scripting languages such as JavaScript and Action Script 3, it will not be platform dependent and website publishers will be able to relax knowing their video content will be viewable to all their visitors.

Recently I was asked by one of my friends whether web browser compatibility is something that one should take care of when designing a website. It was an easy reply  - "Yes".  As usual the next question was  "Why?". I gave him my answer and I would like to share it with my readers too.

Nowadays, there are several web browsers available and as a result, it has become crucial for website owners and developers to ensure that their websites are compatible with all the browsers on all the platforms. Let's face it; in this day and age one would think that you could open a website with any browser but unfortunately different browsers interpret HTML and CSS in different ways, which of course has an impact on how things are viewed on your monitor. Because of this, it's crucial that the CSS and HTML of a website are optimised and programmed to be compatible with all the available web browsers.

While this certainly does require considerably more work, it can essentially result in your website getting a number of new users. Furthermore, one should also bear in mind that certain browsers are more popular than others. Firefox for example now has approximately 30% of the browser market while Internet Explorer still continues to be the leader with approximately 60% (although statistics suggest this varies in different countries). Safari accounts for approx 5% of the market while Google Chrome and Opera currently have more or less two to three percent of the market but this is only to be expected considering they're still relatively new in the game. One of the main reasons why Internet Explorer has managed to dominate the market for so long, is because it comes preinstalled with the Windows operating system. However, its ease of use has also helped to ensure it retains the top spot.

Of course, computers which run on the Windows operating system will in most cases already have all the necessary plug-ins installed so that the browser is ready to use immediately. Computer owners who decide to switch over to Firefox can sometimes wonder if the browser is working properly. For example, if you have just switched over to Firefox and you visit certain sites, you may be prompted to download an ActiveX application. However, even though some people may find this to be an inconvenience, Firefox has just recently celebrated their 1 billionth download and there are no signs to suggest this trend is changing.

In fact, the number of people using Firefox continues to increase by the day with many believing it to be better than Internet Explorer, largely because of its noticeable stability. Even though this may be true to a certain extent, it's also worth noting that Firefox has gone to great lengths in order to retain the old Netscape Communicator appearance and this of course is something which appeals to those looking for a little nostalgia.

The Opera web browser is also enjoying increasing popularity although it has been experiencing certain issues lately regarding various web pages. As a result, website owners and developers need to make an effort in order to make their code compatible, so that this browser can function as it should. In order to determine whether or not this browser is compatible with your website, you can simply use the browser to access your site so that you can see for yourself how things appear on your monitor.

Not only should you do this in order to ensure your site is compatible with all browsers, but you'll also be doing the wider community a favour, in that nobody enjoys wasting their time by visiting a web site which, because of their browser, fails to open properly.

The bottom line is, if you're able to ensure your website is compatible with all browsers then you really need to do so.Make it a point that your website is compatible with all web browsers especially those on the top which can bring you more people than the others.

Subscribe to RSS Feed
Follow me on Twitter
Like Online assistant on Facebook
Follow me on Google Buzz
Get updates by email