Learning programming
-
A Former User last edited by
Some browsers do have a default fallback, if charencoding is missing. Some browsers guess which encoding it could be.
But if I amend my htmls with that
charset
- will those "good" browsers do not mind it? Like"Gosh! Master added a 'charset' - let me break then!"
? -
Deleted User last edited by
will those "good" browsers do not mind it?
Well, they might mind or not.
You can trust me, i'm webdevoloper and have more or less bad experiences with browsers and websites over years
-
A Former User last edited by
will those "good" browsers do not mind it?
Well, they might mind or not.
Well... then I'll investigate some more Russian sites' codes first... :rolleyes:
You mind? -
A Former User last edited by
You know, Angie, lots of Russian sites seem to be written not in HTML5 - whether it's HTML4.01 or XHTML (once I noticed).
And well, I've just come across two sites in a row written in HTML5 and having a Cyrillic title - one of them even mixed (and the latter is not even Russian, but Google's localised page).
Well, both of them have thatmeta
: the former (Π―Π½Π΄Π΅ΠΊΡ) has it "<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
", the Google one - "<meta content="text/html; charset=UTF-8" http-equiv="content-type">
".So now I'm gonna try creating a test doc with this head element.
-
A Former User last edited by
Angie, I added this line: "
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
"; now I'm having boxes there instead of letters(a new doc from one of those just by adding that)
.<abbr title="Add/editβ">β«</abbr>
You know what?
I just opened the code of this new one(with the boxes)
and rewrote *the boxes* here in Opera, applied: the page has got looking just fine!I don't know if it needs a messing with the fonts somehow...
-
Deleted User last edited by
For HTML it is irrelevant for char encoding if you have HTML5 or HTML 4.x or XHTML.
The problem with the "boxes" may be incorrect characters in HTML and wrong encoding (in HTML code or Server sent HTTP headers) or missng charcters in a used font for display in Opera.
But your texteditor should store the HTML file as UTF8!
Please show me a URL of such russian webpage which title is incorrect. I'll investigate.
-
A Former User last edited by
But your texteditor should store the HTML file as UTF8!
Should I check that out?
Please show me a URL of such russian webpage which title is incorrect. I'll investigate.
You meant "Russian"?
Well, I don't seem to be able to: the titles themselves of those Russian (and localised) [online] sites/pages are nothing but correct - while mine have never been published yet (I only shared.html
files in a group or two - you want that?). -
Deleted User last edited by
Yes, check if the content is stored as UTF. Which editor do you use? Notepad++?
No, its ok, if these pages are only local your own, you need not to show.
-
A Former User last edited by
Yes, check if the content is stored as UTF.
It wasn't.
I hadn't been advised on that, so I'd been leaving the default "ANSI" there. Now I tried resaving one of my oldest htmls changing that to "UTF8" - the doc overwrote itself successfully (I'll check that on one of the two "mixed-titled" later). -
A Former User last edited by
Yes, I resaved those two - but you know what?
The recent test one where I inserted the<meta>
, got boxes and then amended using my Opera('source code')
- appeared (seemed) alreadyUTF-8
now (means it was the only one for whose resaving my Windows already offered "UTF-8" as default - for others it did always seem "ANSI" being the default there). -
A Former User last edited by
Thank you, Angie, for your "UTF" advice!
I just opened of theUTF
-resaved documents in my Chrome: looks perfectly o'k!
Yeah - the other one too! :yes:
For you: -
Deleted User last edited by
Fine, now my reputation as female geek, HTML witch and IT professional grows more and more
The coffe is too cold, now. But next time after good help, please send me a coffee machine LOL
-
A Former User last edited by
Just use this:
<heater>![](http://cs9597.vkontakte.ru/u8171323/-14/x_adb23761.jpg)</heater>
-
A Former User last edited by
Yes, check if the content is stored as UTF.
It wasn't.
I hadn't been advised on that, so I'd been leaving the default "ANSI" there. Now I tried resaving one of my oldest htmls changing that to "UTF8" - the doc overwrote itself successfully.Imagine, Angie, the site I'm learning it on's also missing this 'step'. I guess it may be the case because they forgot to think about the fact that not everybody on Earth is strictly confined to the English language only*;)*
-
Deleted User last edited by
Please send them a mail to add this information you missed for learners at w3school
-
A Former User last edited by
No e-mail.
I tried Facebook.
(Well, there is a link at the bottom there: "Report an error" or "...mistake", I deemed it not that exactly - didn't try.) -
A Former User last edited by
<em>What exactly</em> are `` and
<samp>
elements used for?The `` tag is a phrase tag. It defines keyboard input.
... This tag is not deprecated, but it is possible to achieve richer effect with CSS.The
<samp>
tag is a phrase tag. It defines sample output from a computer program.
... This tag is not deprecated, but it is possible to achieve richer effect with CSS.<small>Reference: [<cite>HTML Computer Code Elements</cite>](http://www.w3schools.com/html/html_computercode_elements.asp" title="W3Schools).</small>
-
Deleted User last edited by
Hardly to explain for me, because my native/spoken language is not english, sorry.
HTML element kbd is used to markup text as keyboard input. That means in context for users or even reading programs: This text has to be logically interpreted as keyboard input.
HTML element samp is use for examples.
These two element are not used for optical text formatting, they are for logical structurizing content.
Other example:
h1 as HTML markup means: In HTML document structure this is a header of level 1 (=top-level)
It does not mean: This is a big text with bold letters. -
A Former User last edited by
...['cause] my native/spoken language is not english, sorry.
I prefer English anyway*:P*
These two element are not used for optical text formatting, they are for logical structurizing content.
Well, I'm getting a slight hint for understanding - a slight one but still it's a hint and I'm getting it.
However, <q cite="W3Schools" title="I've used the 'q' tag here - so it's meant as a quote.">... This tag is not deprecated, but it is possible to achieve richer effect with CSS.</q> -
what sense does it make for you?