Meta Charset UTF-8 | Html Tutorial For Beginners | Html5 Meta Charset Attribute

Published: 13 June 2019
on channel: Tech Source Technologies
954
5

#metacharset #metacharsetattribute #html5metacharset
This is 5th Tutorial for Html Beginners:
Today in This Tutorial we discuss on the topic is:
1) Html5 meta Charset Attribute?
2) What is Character Encoding?
Definition:
The charset attribute specifies the character encoding for the HTML document.


The "meta" is info in the head. charset = character set utf-8 is character encoding capable of encoding all characters on the web. It replaced ascii as the default character encoding. Because it is the default all modern browsers will use utf-8 without being explicitly told to do so.




What is Character Encoding?
ASCII was the first character encoding standard (also called character set). ASCII defined 128 different alphanumeric characters that could be used on the internet: numbers (0-9), English letters (A-Z), and some special characters like ! $ + - ( ) @ . ISO-8859-1 was the default character set for HTML 4. This character set also supported 256 different character codes.
ANSI (Windows-1252) was the original Windows character set. ANSI is identical to ISO-8859-1, except that ANSI has 32 extra characters.
Because ANSI and ISO-8859-1 were so limited, HTML 4 also supported UTF-8.
UTF-8 (Unicode) covers almost all of the characters and symbols in the world.
The default character encoding for HTML5 is UTF-8.




The HTML charset Attribute:
To display an HTML page correctly, a web browser must know the character set used in the page.
This is specified in the meta tag:
For HTML4:
meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"
For HTML5:
meta charset="UTF-8"


Watch video Meta Charset UTF-8 | Html Tutorial For Beginners | Html5 Meta Charset Attribute online without registration, duration online in high quality. This video was added by user Tech Source Technologies 13 June 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 954 once and liked it 5 people.