From CSE330 Wiki
Revision as of 08:58, 14 December 2020 by Mitch (talk | contribs) (Second Question)
Jump to: navigation, search

Welcome to the frequently asked questions page for Module 1. As many common questions can come up on Piazza, some of those questions are consolidated here.

HTML Validator

Students frequently see the following error message when putting their code through the W3C Validator.

The character encoding was not declared. Proceed using Windows-1252

When writing html, you need to include a method of character encoding so the computer knows exactly how you want your data to be interpreted. There are multiple character encoding schemes, but perhaps the most common for modern web and application development is Unicode Transformation Format (UTF) 8. This error can be easily solved by including the following line in your HTML header:

<meta charset="utf-8">

One vs Multiple HTML Files