how to redirect page using JavaScript

Redirect a Webpage using JavaScript

Sometimes you might move a webpage to some other location but you still have people going to the old one.  We are able to redirect the users to the new page using JavaScript.  To do this, we would start with your basic HTML page, we’ll …

Read More

how to create a CSS class

How to create a class in HTML and CSS

In CSS you need to be able to select something on the HTML page to be able to style it.  Let’s take this HTML page for example: <!DOCTYPE html> <html lang=””> <head> <meta charset=”utf-8″> <title></title> </head> <body> <div>Style Me</div> </body> </html> On that page, we …

Read More

CSS Fixed Position

How to use position fixed in CSS

Sometimes on a webpage, you’ll want a part of it to never leave the screen.  No matter how much you scroll up or down, you’ll want that piece of the page to always be in the same spot.  For that, we use a CSS position …

Read More

html tooltip

How to create a tooltip using only HTML

Sometimes websites aren’t very specific.  You see something on the page but have no idea what to do with it or what it’s for.  Enter tooltips!  They are helpful little windows that pop up to explain what something is on a webpage.  They usually show …

Read More