Misconception: Students frequently misunderstand the requirements for hyperlinks in HTML.

  • Consider the following example:
    • <a href="Google">http://google.com</a>
      • In the example above students misplace the different elements of the hyperlink within the hyperlink syntax. They have the link title where the link should be and vice versa.
      • The correct use and placement of hyperlink concepts is as follows:
        • <a href="http://google.com">Google</a>
  • This type of error is called a rules-based error. It occurs when the student is familiar with the basic rules and constructs of a language, but comes up against an unknown exception, edge case, rule, etc.
    • This may be the result of incorrect research or assumptions about what is valid, or it can simply be the result of not knowing all the rules, exceptions and edge cases for programming with HTML and CSS.

More about this tip

External Source

"Towards a Taxonomy of Errors in HTML and CSS" by Thomas Park, Ankur Saxena, Swathi Jagannath, Susan Wiedenbeck, and Andrea Forte.