![]() |
|
|
|
|
|
About HTML (Hypertext Markup Language) Hypertext Markup Language (HTML) is the language that all browsers use to
render a page so that you can see it. Every HTML tag has a name by which it is
identified, followed by an optional list of attributes, but all information
relating to a tag is contained within angled brackets Most HTML tags are containers, meaning that they have a start tag and an end
tag - with the text between the two tags following the rules within that tag.
One way is to think of such tags like switches; to make text bold you can switch
it on with the A few HTML tags however do not have end tags because they are used to add
stand-alone elements on the page. The As said, attributes are used to extend or modify what the default tag does. A
tag can have more than one attribute (or none at all), but they must be
separated by at least one space although the order they appear after the tag
name is not important. Most attributes take values that will determine the
behaviour of the tag; sometimes the value will need to use quotation marks to
"keep it together". Quotation marks are not necessary if the value
contains only alphanumeric characters ( Nesting HTML Tags It is perfectly acceptable to want to apply different styles onto the same portion of text - however you should be aware that if you don't be careful you could get some disastrous looking pages! This is where nesting comes in. The idea is simple, when using two or more container tags, be sure that the tag you use second is opened and closed in the text between the first container tag. Here are some examples of nested code...
|
||