E-mail
Imsg
Discussion
 

Blogging

Area for Parents  Instructors Area

HTML ATTRIBUTES
 static html - LESSON 1

Basic HTML
Overview
Introduction
Getting Started
Html Tags
Elements
HTML Attributes
HTML Layout
Assignment
Images
Font Tags
Links
Tables
Summary
Assignment


Extras
HTML Examples
HTML Quiz
HTML Exam

HTML Tag List

Lets look at the role of HTML attributes. Each Tag has it own set of attributes that are used to modify the value of an HTML element. These attributes,

  • are always added to the start tag of an HTML element and
  • always come in name/value pairs (e.g. Attribute name="value").

The HTML back ground color attribute shown here is assigned a value of "#000000" which is black.

A t t r i b u t e
Name
Assign
Value

The tag "<body>" defines the body element of your HTML page . With an added bgcolor attribute, you can tell the browser that the background body of your page is black, (e.g. <body bgcolor="#000000"> </body>) Tryit, using the body tag with/without the background attribute to change the color.