Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Browser Side
/
HTML
3:23 am May 1, 2026
This page requires javascript.
Forum Moderators:
open
Message Too Old, No Replies
HTML header code for multi lingual page?
born2run
Msg#:5055330
12:21 pm on Jan 6, 2022
(gmt 0)
Hi I had the following html code for a page when it had only English text:
<html lang="en">
Now, it has two languages content in it, so what html code should I use for this multilingual page? Should I just remove the code above?
Thanks in advance!
coothead
Msg#:5055348
Votes:
2
4:01 pm on Jan 6, 2022
(gmt 0)
Hi there born2run.
assuming that ...
<html lang="en">
...is the main language,simply add the
lang attribute
to those elements that contain a different language, for
example...
<div class="french-information" lang="fr">sacré bleu</div>
Further reading
:-
Declaring language in HTML
[w3.org]
coothead
Jonesy
Msg#:5055451
5:49 pm on Jan 8, 2022
(gmt 0)
I've done it paragraph by paragraph:
<p lang="fr"> ...... </p>
coothead
Msg#:5055452
Votes:
1
6:02 pm on Jan 8, 2022
(gmt 0)
Hi there Jonesy,
correct me if I am wrong, but are you not just repeating
a little of the information that I have already posted? :(
coothead
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Mar
,
Feb
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
April 2026 Google Search Observations
what do they want?
SEO question
I need some SEO help
Hello again, it's been a while
Do you get tired of others copying your content?
iPhone Safari 26.4.1 errors: IPv4 & Host
5 SEO Tips That Actually Worked for My Blog in 2026
AdSense Earnings and Observations - April 2026
Home
Forums Index
Browser Side
/
HTML
3:23 am May 1, 2026