Common HTML terms

These are common HTML terms:

Element

Attribute

Tag

Element is a part of HTML code. For example a link to another webpage is represented with the element <a>.

Attribute is the property of that element. For example in case of a link it a web page where that link point to. Attributes have name and value pairs. In the case of a link, attribute is href and value is a page that it points to.

Tag of an HTML element indicates the end of that element. HTML tags are represented with forward slash in front of that element name.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator