ThatJeeves Posted March 28, 2011 Share Posted March 28, 2011 Hello.Am I obligated to somehow define language in an html-document? Is it okay to leave out any "lang="? Link to comment Share on other sites More sharing options...
Ingolme Posted March 28, 2011 Share Posted March 28, 2011 It is not required. Link to comment Share on other sites More sharing options...
ThatJeeves Posted March 28, 2011 Author Share Posted March 28, 2011 Hello.Am I obligated to somehow define language in an html-document? Is it okay to leave out any "lang="?Hello.Suppose I specify lang=sv in the html tag, is it ok or ethical if I specify indivudal names with lang=en or other language in the document? Link to comment Share on other sites More sharing options...
Ingolme Posted March 28, 2011 Share Posted March 28, 2011 If you have elements with other languages in them and you've specified a language for the whole document, you should add a different "lang" attribute to each element that has a different language. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.