Search the Community
Showing results for tags 'language'.
I'm wondering whether the lang attribute applies to the rendered content only or whether it also applies to metadata, comments and code (variable names, CSS id/class names). If my metadata etc is in US English but the rendered content is in French, which is the right way to go? 1) Language declared in the root element and then changed in the body element where the user content is. <!DOCTYPE html><html lang="en-US"> <head> <meta charset="UTF-8"/> <title>Title</title> </head> <body lang="fr"> </body></html> 2) Language for metada
Hey, everyone. I'm new to the forums, but not to W3 Schools or programming in general. I've spent the past 3-4 days combing the tutorials for asp, asp.net, ajax, php, html5, cshtml, etc. and learned way more about each than I'm probably ever going to need. At this point, I'm only inches closer to completing my project than when I started looking through these (though I suppose I'm a better web dev for it), and there is only one question in my mind - which language should I actually be looking at to make this work? It seems to me after looking through each one individually that any language