Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Guys, Can I include more than one "charset" in a single HTML5? I want to write both arabic and english in my webpage.

<html> <head> <meta charset="utf-8"> <meta charset="iso-8859-6"> <meta charset="windows-1256"> <meta http-equiv="content-language" content="ar"> </head>

<h2>W3C Validation:</h2> <p>When I try to validate the above metadata, I get errors, so what should I do?</p>

1 Answer

Hi Ahmed,

You can only add one. I've not had to do this before but this may help with your options.

-Rich

Hi Rich

Thanks for your help. I guess the charset that supports "Arabic" characters would, by default, support other characters like "utf-8" does.

Thanks my friend

No problem :)