Difference between revisions of "FAQ"

From CSE330 Wiki
Jump to: navigation, search
(HTML Validator)
(Second Question)
Line 13: Line 13:
 
</source>
 
</source>
  
== Second Question ==
+
== One vs Multiple HTML Files ==
  
 
[[Category:Module 1]]
 
[[Category:Module 1]]

Revision as of 07:58, 14 December 2020

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