Hi:
W3C suggests adding the document language tag to the <html> statement. e.g. <html lang="en">. Aside from exporting the html file and uploading, I don't see how to add this tag. Any suggestions?
Hi:
W3C suggests adding the document language tag to the <html> statement. e.g. <html lang="en">. Aside from exporting the html file and uploading, I don't see how to add this tag. Any suggestions?
Open Web Properties / Website / HTML Code Head.
Paste in the required tag
Okay & Apply.
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
Thanks, but I tried that. When uploaded, the code appears at the end of the <head> section as a stray start tag. It needs to be in the first line <html> tag.
Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat
You could try adding:
into the Page Head code.<script>$(document).ready(function() {
$("html").attr("lang", "en");
});
</script>
You probably need a Name UsesJQuery added to an object on the page as well.
The source still shows <html> but the rendered page code inspection shows <html lang="en"> so I don't know if this is clever enough to convince your W3C validator.
Acorn
P.S. I reasoned that in XDPX there is an option under the Spell Checker for the Document Language, which should do the necessary. I changed all my text to English (U.K.) but nothing appeared in the code. I am adding this as a request to the Dear Xara... Forum.
Last edited by Acorn; 02 January 2018 at 08:06 PM.
Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat
Thanks Acorn. I also looked at the Spell Checker / Document Language. I agree that that should result in the necessary code. Thanks for submitting your request.
Yes, you're correct Acorn. I believe this code should be in the html declaration. There's no way to do this in Xara at present.
I think it should be:
<!DOCTYPE html>
<html lang="fr">
<head>
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
Hi,
I've passed this request on as per Acorn's request in the Dear Xara forum https://www.talkgraphics.com/showthr...ument-Language. It looks like it will depend on how many people this is a problem for as to whether it is implemented or not.
Thanks,
Stephen
Thank you Stephen for passing this on, W3C seems to think it is important for HTML5: https://www.w3.org/International/que...e-declarations.
Acorn
Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat
Bookmarks