body {background-image: url(picture.png);}
This will cause your browser to look for a file (in the same folder as your HTML document) named picture.png. This is a form of relative linking. Another example would be to add a sub folder before the actual picture: url(/images/picture.png) You can also use absolute linking to set an image:
body {background-image: url(http://www.newbtopro.com/images/picture.png);}
Regardless of what way you link to your picture, your image will show at the top left of the screen.
The basic syntax of a CSS rule is as follows:
selector {property: value;}The selector is simply the HTML tag you wish to style, the property is what you want to change and the value is the new setting. Curly brackets start and end the selectors rule for all properties.
There is also two key punctuation marks that are used within your CSS:
There are three methods of adding CSS to your HTML documents: external, internal and inline. This section will go through the pro's and con's of each of these.
External Method
The external method is used when you store all of your CSS in another file such as “external.css”. You would then create a link within your HTML document that says: “use the external.css file to style my document”. In order to link your CSS file to your web page, you will need to use the <link> tag:
Welcome to the world of Cascading Style Sheets (CSS). Without CSS, HTML documents can look boring to say the least. Put it another way, if HTML is a naked person than CSS is that person's clothing. Depending on the web designer's skill, those clothes could be anything from a cheap and ugly outfit to an Armani suit. Sure, you could “present” yourself in your birthday suit, but wouldn't you want to wear a fitted suit instead? CSS allows you to go from naked to noteworthy.
One of the more powerful features of Linux is how the system boots. Linux can run in many different ways and with specific goals. Do you want to run a graphical user interface (GUI) such as KDE or do you strictly want to run only enough applications to get you to a command line? Linux is highly flexible and can run under many different conditions.
This section will give you a basic understanding as to what is happening when a Linux system is powered on and what Linux will do in order for it to become functional to the end user.
Pro's Of Linux
Anyone can download a CD image of Linux. These are completely free and most freely available Linux distributions make it easy to install new software, bug fixes and other updates.
Whieter you have a Pentium computer or a Mac, you can have Linux working on your system. You can have a 32-bit or 64-bit system or a Pentium or a SPARC processor. Linux works on practically all known processor types.
Creating HTML forms allows you to collect information from your visitors. Whether it's their name, email address or credit card number, you can use forms to take in information and do a variety of things with it. You can store this information in a file or a database, you can use a scripting language, such as PHP, to help validate the information the user submits or you can just email the information the visitor entered without actually saving the data.
Setting up a proper PHP.INI file can be rather burdensome. This list will point out some of the most popular (and important) settings within your PHP.INI.
I purposely left out the "register_globals" and "safe_mode" setting for a couple of reasons:
Web pages that have lots of text can seem rather boring. What better way to spice up your web pages by using images. In order for us to place images within any HTML document, we need to use the <img> tag. As you can clearly decipher from the name, <img> is short for image.
Adding An Image
<img src="beach.png"/>
HTML Output:
Attributes are used to change the default behavior of a tag. Some tags require an attribute while others behave a certain way until you change it by adding a specific attribute. All attributes are defined within the opening tags brackets (<>).
Some attributes are used to change how something is formated and others are used as a method of classifiying your tags so you can isolate and format those tags using Cascading Style Sheets (CSS).
A basic attribute could look like: