Monday 21 March 2016

Task 6

Task 6:

Tag:

A HTML tag is a keyword (tag name) surrounded by angle brackets.

<tag name>content</tag name>

HTML tags usually come in pairs, a start tag (<p>) and an end tag (</p>). The end tag is written like the start tag but with a slash before the tag name.

Element:

HTML Elements are written with a start tag and an end tag with the content in between. The HTML element is anything from the start to the end of the tag.

<p>Jasmine's Paragraph</p>

Attribute:

Attributes provide additional information about HTML elements. Attributes are always specified in the start tag and come in name/value pairs like: name="value".

<html lang="en-US">


No comments:

Post a Comment