Google Search

Friday, November 28, 2008

HTML Tutorial

Hyper Text Markup Language - HTML

Here you will learn how the basics of the Hyper Text Markup Language (HTML), so that you may make your own web pages like the one you are viewing right now.

HTML is not a programming language, but rather a markup language. If you already know XML, then HTML will be a snap for you to learn. We urge you not to attempt to blow through this tutorial in one sitting. We recommend that you spend 15 minutes to an hour a day practicing HTML and then take a break, to let the information settle in. We aren't going anywhere!


Preparation for HTML

Creating an HTML document is easy. To begin coding HTML you need only two things: a simple-text editor and the dedication to follow our tutorial! Notepad is the most basic of simple-text editors and you will probably code a fair amount of HTML with it.
If you are new to HTML and haven't read through the Beginner's Tutorial please take a few minutes to complete that tutorial before moving on.


Brief HTML Background

HTML has not been around for many years. November 1990 marks the day of the first web page and back then there were little to no HTML standards to be followed. A group called the World Wide Web Consortium was then formed and have since set the standards that are widely accepted and we will base our teachings around them.


Web Pages


Web pages have many uses. Here are some important facts about why web pages are so useful.
  • A cheap and easy way to spread information to a large audience.
  • Another medium to market your business.
  • Let the world know about you with a personal website!

Words to Know
  • Tag - Used to specify ("mark-up") regions of HTML documents for the web browser to interpret. Tags look like this: <tag>
  • Element - A complete tag, having an opening <tag> and a closing </tag>.
  • Attribute - Used to modify the value of the HTML element. Elements will often have multiple attributes.

For now just know that a tag is a command the web browser interprets, an element is a complete tag, and an attribute customizes or modifies HTML elements.


The Rest of the Tutorial


For the rest of the tutorial, you may use the menu to navigate to specific lessons, or you can continue to learn step-by-step using the "Continue" button below. Examples and "walk-throughs" are provided in each section.

First Website Guide

Beginner's Website Creating Guide

This articles is introduction to HTML and web design. This short tutorial is aimed to give newbies a little experience in
writing HTML code, saving their files correctly, and viewing the completed works in a web browser. Regrettably this tutorial cannot
teach you the basics of using a computer, so please be sure that you meet the following requirements:

  • Know what notepad is and how to use it
  • Are able to open up a file using Internet Explorer (or the browser of your choice)
  • Know how to copy and paste text from a webpage (important!).

  • If you are lacking the ability of the aforementioned items please contact a local geek and ask nicely for a quick lesson.


    Tutorial Overview

    In this tutorial you will be transcribing code into notepad and then viewing it with a web browser.
    The code is called HTML (Hyper Text Markup Language) and notepad is a commonly used text editor on Window PCs. HTML may seem confusing at first, but we will help you understand how it works in this step-by-step tutorial of how to make your first web page.


    Your First Web Page

    To start off with copy the following HTML code into notepad. Be sure to copy the code exactly, otherwise your web page may not function correctly.

    HTML Code:


    <html>

    <head>
    </head>

    <body>

    <h2>My first webpage!</h2>

    </body>
    </html>



    The above code is all that is required to create a basic web page! Now save your file in notepad by selecting Menu and then Save.
    Click on the Save as Type drop down box and select the option
    All Files.
    When asked to name your file, type "index.html", without the quotes. Double check that you did everything correctly and then press save. Remember where it was saved to because you will need to open this file, soon!


    Viewing Your Web Page - Web Browsers

    To view your web page, you are going to have to use a web browser (of course).
    Web browsers are programs that interpret HTML, like what you have just copied into notepad, and transform that code into a visual representation, or a web page. Common web browsers include:

  • Internet Explorer
  • FireFox
  • Netscape Navigator
  • Opera


  • Viewing your page

    To view your web page, you must open the "index.html" file inside of a web browser.
    Open up another browser window and then follow these instruction.
    1. In the new browser window, select File then Open
    2. Then click Browse to enter Windows Explorer
    3. Do you remember where you file is? Good,then navigate to its location
    4. When you find your file, index.html, double-click the file to open it inside your web browser

    Success! You have just viewed your very first webpage.

    If this did not work for you,
    please go through the steps again and follow the directions closely.


    Tips

    Simple-text program that has features notepad does not.
    Such features include: spellcheck, code highlighting (you'll like this!), ability to open multiple files, and a more sophisticated undo feature. It is easy to set up and it is free!
    You may have heard of FrontPage, Dreamweaver, and other WYSIWYG programs (What You
    See Is What You Get). Though these programs will let you create pages quickly, you will soon learn there are many advantages to knowing how to code HTML. Spicing up
    or polishing up HTML effects can only be done manually.

    Ever wonder what a website's designer did to get that awesome look it has?
    You can view a websites source (HTML) and if you know HTML you'll understand how they did it. On any browser, select the view command, scroll down and select 'view source' to see the HTML code for the site you are currently viewing.

    Sunday, November 23, 2008

    Tips For Web Design

    This article takes a look at the top 10 web design tips for users at any level. It will give you 10 complete different points to contemplate when you next begin a site design or when talking to your web design consultant/employee.

    Design is never straight forward and web design has the additional unpredictable complication of technology thrown in. This means that you need to consider the consequences of your design decisions and how it will effect the most important people who see your site, the users themselves. The following tips should help you consider this and have a positive effect on your site and its users.

    Top 10 web design tips :

    1.Navigation & Functionality

    You should never sacrifice overall functionality for artistic extravagance. It is highly unlikely your site will ever achieve its purpose if the people who visit it cannot clearly and easily navigate around it.

    Your site should look good but first and foremost consider how someone who knows nothing about the site would think when they landed there.

    Something occurring in website frequently these days is Mystery Meat Navigation. This is a term coined by Vincent Flanders and it is used to describe site where navigation structures are so obscure and difficult to process that users cannot identify them at all and end up running there mouse across whole sections of a screen just to identify hyperlinks.

    2.Images

    People say images are worth a 1000 words and in web design that’s true in 2 ways. Firstly an image can do a lot more than text in some situation but secondly they are much, much bigger files with a higher download time.

    It is widely accepted users will click away from a page that takes longer than 5-10 seconds to load and every time you put an image in a page you are increasing the likelihood of this happening. Additionally each image you imbed into a page design activates an additional HTTP request to your server so dividing an image into smaller ones or using lots of small images across a page does not solve the problem.

    ALT tags should also be factored into the code of a website. They are a huge help to people who have either images turned off in a browse, mobile broswers that can’t read the images or a random error preventing the image from showing. They also hold a small SEO benefit.

    3.Tables

    It is advised that you use CSS and not tables to format a document but in some cases tables can be necessary. Remember one thing however, a table cannot be displayed until it has fully loaded. This can potentially cause a huge problem for users as they wait for the page to load, nothing appears then out of nowhere the whole page is done.

    Someone is much more likely to click away when nothing is loading than when they can see progress.

    4.Fonts

    Don’t design sites to use fonts only you have, chances are they will be converted into some dull font and ruin the effect you were trying to achieve. Save special fonts for specific headers and convert them to images. Make the rest of your site in standard fonts so that as many browsers as possible will see it in the way you meant it to be. Recommended fonts for high scale compatibility are Arial, Verdana, Courier, Tahoma and Helvetica.

    5.Plug-Ins

    Plug-ins hold a lot of potential for both users and designers but it can easily be misused and misguided.

    Plug-ins have a many forms and uses, the most popular being Java and Flash Player. I have heard a lot of people say that these plug-ins are “safe” and that everyone has them but this is simply not true. Every plug-in has a stack of different versions and connects differently depending on the browser the user is surfing with.

    Think if your users will really want to browse to other sites to download a plug-in, restart the browser then navigate back. If the answer is no use other tricks at your disposal to make your page unique and save the big guns that are Flash and Java for times where it is essential.

    6.Tags

    The “tags” I am referring to hear are meta keywords and description, title, alt and h1 tags. Together these tags help manage your sites search engine optimisation (SEO) potential and this is defiantly something not to overlook. Helping people find your site will bring more traffic in and more conversion if you are a retail site.

    The higher search engines rank you the more traffic will filter down and the more successful your site will be. Try to keep a constant theme running through all your tags but do so in a subtle way. Splashing the same word 1000 times on your page will only have negative effects so make sure you strike the correct balance between informative and spammy.

    7.Browsers

    In a perfect world everyone would use the same browser and your website would look the same on everyone’s screen but unfortunately this is not the case. Every browser has its own specific functions and styles and learning to make you code cooperate with both can present some serious problems.

    The three you really need to concern yourself with are Internet Explorer, Firefox and Safari. These make up a good 95% of the browser market at the very least and while there are some additional popular browser I would not recommend you spend time optimising code for the rest.

    The only thing you can do is do your best and stay away from browser specific functions, you’ll never make someone get a new browser.

    8.Pop Ups

    Something that is very important to remember is that the user should be in control of their browser and desktop. Do not place unnecessary pop ups and window opening links everywhere and the user will feel they have lost control of the site, become annoyed and close the windows.

    There are some exceptions to using the (_blank) attribute but I would steer clear whenever possible.

    9.Text Layout

    Text is part of your design to and positioning it correctly on the page is very important. Try to get all the copy you need as early in the design process as possible. This means you will be able to design around the copy instead of trying to cram it into smaller spaces because someone wrote twice as much copy as they said they were going to.

    Use the right alignment for the right situation, remember 99% of people will prefer left align and while justified look aesthetically better it can be very difficult to read in longer bouts.

    10.Site Search

    In this day and age finding what you want on a website in paramount. After you have followed the first tip on navigation you should also provide a search bar on your site so that a visitor who cannot immediately see what they are looking for can search. Many internet studies have seen the success of these smaller additions to your site and free ones are available from Google and many other SE operators.

    CONCLUSION

    Taking these 10 tips into account will help you design a more user-friendly and successful website, sometime it may seem like they are hindering your grand design but failing to take notice may result in your site being a very pretty stop sign for browsers. Just because you can find your way around your Flash menu system that takes 6 minutes to load doesn’t mean Mrs Smith who needs the product can.