HTML

HTML

I have resulted to going back to HTML due to needing to expand my knowledge on the subject due to my little understanding.

I managed to find a small amount of code to use an image as a background.

<html>

<body>

<img src=”bbc_background.jpg” alt=”BBC Background” width=”976″ height=”779″ />

</body>

</html>

I saved an image in the same folder as the html file. By using <img> I can get an image from an external source to show on screen. This proved successful. I now need to begin to understand how CSS works with html properly as I have not managed to get it to work as of yet.

.HTM and .HTML are exactly the same.

Html starts with a start tag and ends with an end tag. The element is the content in between the tags.

<p>This is my first paragraph.</p>

The <p> element defines a paragraph in the HTML document.
The element has a start tag <p> and an end tag </p>.
The element content is: This is my first paragraph.

Color Values

HTML colors are defined using a hexadecimal notation (HEX) for the combination of Red, Green, and Blue color values (RGB).

The lowest value that can be given to one of the light sources is 0 (in HEX: 00). The highest value is 255 (in HEX: FF).

HEX values are specified as 3 pairs of two-digit numbers, starting with a # sign.

Color Names Supported by All Browsers

147 color names are defined in the HTML and CSS color specification (17 standard colors plus 130 more). The table below lists them all, along with their hexadecimal values.

 

Advertisements
This entry was posted in PG04 - Prototyping. Bookmark the permalink.

One Response to HTML

  1. Pingback: List of HTML Codes | Lilywhitewash's Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s