In last tutorial we mentioned meta charset topic with conclusion that we will be ok for the most time with UTF-8. But you are strongly advised to visit Wikipedia page on UTF-8 encoding to grasp all other possibilities and options if you will create pages in language different than english.
As stated on Wiki: "UTF-8 is by far the most common encoding for the WWW, accounting for over 97% of all web pages, and up to 100% for some languages, as of 2021."
While coding your html pages, if some local characters are not represented as they need to be in browser, check for appropriate charset.
<!DOCTYPE html>
<html>
<head>
<title>Title of The Page</title>
<meta charset="utf-8">
</head>
<body>
<p>Web Page Content Goes Here</p>
<p>ĐŠĐĆČŽĆČŠĐŠĐŠČĆŽĆČŽĆČŽĆČĆČŽĆČ</p>
<p>ЂШЂЧЖЋЧЊЉЊЉЖЋЧЋЧШЂЋЖЋЖЖЂШЊЉЊЂ</p>
</body>
</html>
No comments:
Post a Comment