Journal article
An Analysis of HTML and CSS Syntax Errors in a Web Development Course
ACM transactions on computing education, v 15(1), pp 1-21
01 Mar 2015
Featured in Collection : UN Sustainable Development Goals @ Drexel
Abstract
Many people are first exposed to code through web development, yet little is known about the barriers beginners face in these formative experiences. In this article, we describe a study of undergraduate students enrolled in an introductory web development course taken by both computing majors and general education students. Using data collected during the initial weeks of the course, we investigate the nature of the syntax errors they make when learning HTML and CSS, and how they resolve them. This is accomplished through the deployment of openHTML, a lightweight web-based code editor that logs user activity. Our analysis reveals that nearly all students made syntax errors that remained unresolved in their assessments, and that these errors continued weeks into the course. Approximately 20% of these errors related to the relatively complex system of rules that dictates when it is valid for HTML elements to be nested in one another. On the other hand, 35% of errors related to the relatively simple tag syntax determining how HTML elements are nested. We also find that validation played a key role in resolving errors: While the majority of unresolved errors were present in untested code, nearly all of the errors that were detected through validation were eventually corrected. We conclude with a discussion of our findings and their implications for computing education.
Metrics
Details
- Title
- An Analysis of HTML and CSS Syntax Errors in a Web Development Course
- Creators
- Thomas H. Park - Drexel UniversityBrian Dorn - University of Nebraska at OmahaAndrea Forte - Drexel University
- Publication Details
- ACM transactions on computing education, v 15(1), pp 1-21
- Publisher
- Assoc Computing Machinery
- Number of pages
- 21
- Grant note
- CNS-1152094 / National Science Foundation; National Science Foundation (NSF)
- Resource Type
- Journal article
- Language
- English
- Academic Unit
- Information Science
- Web of Science ID
- WOS:000359572900004
- Scopus ID
- 2-s2.0-84924812038
- Other Identifier
- 991019168411004721
UN Sustainable Development Goals (SDGs)
This publication has contributed to the advancement of the following goals:
InCites Highlights
Data related to this publication, from InCites Benchmarking & Analytics tool:
- Collaboration types
- Domestic collaboration
- Web of Science research areas
- Education, Scientific Disciplines