I understand that the doctype at the very start of any page has this attribute:
<html lang="en-US">
This is obviously language-specific.
What I am wondering is, rather than create multiple pages for different languages, can I just simply add this HTML attribute:
<p lang="hi">नमस्ते</p>
"hi" is the language code for the Hindi language.
So, is my approach a good one? I just need a paragraph in Hindi, that's all. 90% of the HTML doc is in English - but just wondering about the correct "SEO" for that.
<html>
is not a doctype. This is:<!DOCTYPE html>