The Basics
Terminology
- Syntax
-
Basically it is the way something is said.
For example: In English a person says an apple not a apple. - Deprecated
- In programming this means something should no longer be used. While it works now, eventually it might not be supported.
- Nesting
- This means putting a lower level element inside a higher level element.
- Tags
- These are basically instructions that tell a browser what to do with the tag contents.
- Rendered
-
How things are interpreted and displayed by a browser.
( *note-this has other meanings when not refering to HTML or scripts. ) - Attribute
- When refering to HTML an attribute is a characteristic that identifies or helps control the tag and its contents.
Basic Rules for Good Coding Practises
- HTML tags should be lowercase.
- All tags should be closed. ( example: <tag> </tag> or <tag /> )
-
Tags should be nested and indented for clear reading.
example:
<parent_tag> <child_tag> </child_tag> </parent_tag>
- Deprecated tags should not be used. ( example: <center></center> )
