What is CSS?
CSS is a code that you can use to help build your website. Our UK web hosting uses this as a primary code when designing your website because it is one of the easiest ways to build a website. It is used by numerous web hosting companies to create their web page, and it is the primary source of coding in dreamweaver.
Although HTML has been popular for awhile and is easy to use, CSS allows the developers to be more flexible in creating their website and is just as easy to understand.
If you have never used any type of coding before, here are some introductions.
The close and open brackets “{” and “}” are used to open and close statements that you will eventually make. This means that if you want to create a body, you will have a code that looks like:
body
{
Content goes here!
}
The contents belong inside the bracket.
In the body, it is usually multiple attributes that belong in the body such as background color and such. The great thing about CSS is that once you understand basics such as this, the rest of the coding is easy because you can easily access the codes online. For example, let us say that you want to add in a background. You do not know the command for background, but you figure that there will most likely be a code since it is one of the most basic tools. You can easily type in Google “CSS background command,” and you are guaranteed to find a website with the command line!
The line to add background is called : background-color:#d0e4fe;
In other words, your code to make a web page with a certain color background will look like:
body{
background-color:#000000;
}
The number in the above example is defined by a “hexadecimal” code that every color is assigned to. Again, you can easily find this chart online of hexadecimal codes for every single color with a simple Google search.
There are numerous commands and openers that you can use which make up the entire coding. Body is used mainly to introduce the main body of the entire coding, and there are other numerous commands such as h1. H1 stands for heading 1, and it is mainly used to create a heading for your code.
From the 600Host.net Team.
UK’s Favourite website hosting provider!
Web Hosting | Webmasters Blog