HTML Charset - W3Schools
文章推薦指數: 80 %
The UTF-8 Character Set ... UTF-8 is identical to ASCII for the values from 0 to 127. UTF-8 does not use the values from 128 to 159. UTF-8 is identical to both ...
Tutorials
References
Exercises
Videos
Menu
Login
FreeWebsite
GetCertified
Pro
HTML
CSS
JAVASCRIPT
SQL
PYTHON
JAVA
PHP
BOOTSTRAP
HOWTO
W3.CSS
C
C++
C#
REACT
R
JQUERY
DJANGO
TYPESCRIPT
NODEJS
MYSQL
Darkmode
Darkcode
×
Tutorials
HTMLandCSS
LearnHTML
LearnCSS
LearnRWD
LearnBootstrap
LearnW3.CSS
LearnColors
LearnIcons
LearnGraphics
LearnSVG
LearnCanvas
LearnHowTo
LearnSass
DataAnalytics
LearnAI
LearnMachineLearning
LearnDataScience
LearnNumPy
LearnPandas
LearnSciPy
LearnMatplotlib
LearnStatistics
LearnExcel
XMLTutorials
LearnXML
LearnXMLAJAX
LearnXMLDOM
LearnXMLDTD
LearnXMLSchema
LearnXSLT
LearnXPath
LearnXQuery
JavaScript
LearnJavaScript
LearnjQuery
LearnReact
LearnAngularJS
LearnJSON
LearnAJAX
LearnAppML
LearnW3.JS
Programming
LearnPython
LearnJava
LearnC
LearnC++
LearnC#
LearnR
LearnKotlin
LearnGo
LearnDjango
LearnTypeScript
ServerSide
LearnSQL
LearnMySQL
LearnPHP
LearnASP
LearnNode.js
LearnRaspberryPi
LearnGit
LearnMongoDB
LearnAWSCloud
WebBuilding
CreateaWebsiteNEW
WhereToStart
WebTemplates
WebStatistics
WebCertificates
WebDevelopment
CodeEditor
TestYourTypingSpeed
PlayaCodeGame
CyberSecurity
Accessibility
DataAnalytics
LearnAI
LearnMachineLearning
LearnDataScience
LearnNumPy
LearnPandas
LearnSciPy
LearnMatplotlib
LearnStatistics
LearnExcel
LearnGoogleSheets
XMLTutorials
LearnXML
LearnXMLAJAX
LearnXMLDOM
LearnXMLDTD
LearnXMLSchema
LearnXSLT
LearnXPath
LearnXQuery
×
References
HTML
HTMLTagReference
HTMLBrowserSupport
HTMLEventReference
HTMLColorReference
HTMLAttributeReference
HTMLCanvasReference
HTMLSVGReference
GoogleMapsReference
CSS
CSSReference
CSSBrowserSupport
CSSSelectorReference
Bootstrap3Reference
Bootstrap4Reference
W3.CSSReference
IconReference
SassReference
JavaScript
JavaScriptReference
HTMLDOMReference
jQueryReference
AngularJSReference
AppMLReference
W3.JSReference
Programming
PythonReference
JavaReference
ServerSide
SQLReference
MySQLReference
PHPReference
ASPReference
XML
XMLDOMReference
XMLHttpReference
XSLTReference
XMLSchemaReference
CharacterSets
HTMLCharacterSets
HTMLASCII
HTMLANSI
HTMLWindows-1252
HTMLISO-8859-1
HTMLSymbols
HTMLUTF-8
×
ExercisesandQuizzes
Exercises
HTMLExercises
CSSExercises
JavaScriptExercises
PythonExercises
SQLExercises
PHPExercises
JavaExercises
CExercises
C++Exercises
C#Exercises
jQueryExercises
React.jsExercises
MySQLExercises
Bootstrap5Exercises
Bootstrap4Exercises
Bootstrap3Exercises
NumPyExercises
PandasExercises
SciPyExercises
TypeScriptExercises
ExcelExercises
RExercises
GitExercises
KotlinExercises
GoExercises
MongoDBExercises
Quizzes
HTMLQuiz
CSSQuiz
JavaScriptQuiz
PythonQuiz
SQLQuiz
PHPQuiz
JavaQuiz
CQuiz
C++Quiz
C#Quiz
jQueryQuiz
React.jsQuiz
MySQLQuiz
Bootstrap5Quiz
Bootstrap4Quiz
Bootstrap3Quiz
NumPyQuiz
PandasQuiz
SciPyQuiz
TypeScriptQuiz
XMLQuiz
RQuiz
GitQuiz
KotlinQuiz
CyberSecurityQuiz
AccessibilityQuiz
Courses
HTMLCourse
CSSCourse
JavaScriptCourse
FrontEndCourse
PythonCourse
SQLCourse
PHPCourse
JavaCourse
C++Course
C#Course
jQueryCourse
React.jsCourse
Bootstrap4Course
Bootstrap3Course
NumPyCourse
PandasCourse
TypeScriptCourse
XMLCourse
RCourse
DataAnalyticsCourse
CyberSecurityCourse
AccessibilityCourse
Certificates
HTMLCertificate
CSSCertificate
JavaScriptCertificate
FrontEndCertificate
PythonCertificate
SQLCertificate
PHPCertificate
JavaCertificate
C++Certificate
C#Certificate
jQueryCertificate
React.jsCertificate
MySQLCertificate
Bootstrap5Certificate
Bootstrap4Certificate
Bootstrap3Certificate
TypeScriptCertificate
XMLCertificate
ExcelCertificate
DataScienceCertificate
CyberSecurityCertificate
AccessibilityCertificate
×
Tutorials
References
Exercises
GetCertified
Spaces
Videos
Shop
Pro
HTMLTutorial
HTMLHOME
HTMLIntroduction
HTMLEditors
HTMLBasic
HTMLElements
HTMLAttributes
HTMLHeadings
HTMLParagraphs
HTMLStyles
HTMLFormatting
HTMLQuotations
HTMLComments
HTMLColors
Colors
RGB
HEX
HSL
HTMLCSS
HTMLLinks
Links
LinkColors
LinkBookmarks
HTMLImages
Images
ImageMap
BackgroundImages
ThePictureElement
HTMLFavicon
HTMLTables
HTMLTables
TableBorders
TableSizes
TableHeaders
Padding&Spacing
Colspan&Rowspan
TableStyling
TableColgroup
HTMLLists
Lists
UnorderedLists
OrderedLists
OtherLists
HTMLBlock&Inline
HTMLClasses
HTMLId
HTMLIframes
HTMLJavaScript
HTMLFilePaths
HTMLHead
HTMLLayout
HTMLResponsive
HTMLComputercode
HTMLSemantics
HTMLStyleGuide
HTMLEntities
HTMLSymbols
HTMLEmojis
HTMLCharset
HTMLURLEncode
HTMLvs.XHTML
HTMLForms
HTMLForms
HTMLFormAttributes
HTMLFormElements
HTMLInputTypes
HTMLInputAttributes
HTMLInputFormAttributes
HTMLGraphics
HTMLCanvas
HTMLSVG
HTMLMedia
HTMLMedia
HTMLVideo
HTMLAudio
HTMLPlug-ins
HTMLYouTube
HTMLAPIs
HTMLGeolocation
HTMLDrag/Drop
HTMLWebStorage
HTMLWebWorkers
HTMLSSE
HTMLExamples
HTMLExamples
HTMLQuiz
HTMLExercises
HTMLCertificate
HTMLSummary
HTMLAccessibility
HTMLReferences
HTMLTagList
HTMLAttributes
HTMLGlobalAttributes
HTMLBrowserSupport
HTMLEvents
HTMLColors
HTMLCanvas
HTMLAudio/Video
HTMLDoctypes
HTMLCharacterSets
HTMLURLEncode
HTMLLangCodes
HTTPMessages
HTTPMethods
PXtoEMConverter
KeyboardShortcuts
HTMLEncoding(CharacterSets)
❮Previous
Next❯
TodisplayanHTMLpagecorrectly,awebbrowsermustknow
whichcharactersettouse.
FromASCIItoUTF-8
ASCIIwasthefirstcharacterencodingstandard.ASCIIdefined128differentcharactersthatcouldbeusedontheinternet:numbers(0-9),Englishletters(A-Z),andsomespecial
characterslike!$+-()@<>.
ISO-8859-1wasthedefaultcharactersetforHTML4.Thischaracterset
supported256differentcharactercodes.HTML4alsosupportedUTF-8.
ANSI(Windows-1252)wastheoriginalWindowscharacterset.ANSIisidentical
toISO-8859-1,exceptthatANSIhas32extracharacters.
TheHTML5specificationencourageswebdeveloperstousetheUTF-8character
set,whichcoversalmostallofthe
charactersandsymbolsintheworld!
TheHTMLcharsetAttribute
TodisplayanHTMLpagecorrectly,awebbrowsermustknowthecharactersetusedinthepage.
Thisisspecifiedinthetag:
延伸文章資訊
- 1charset - CSS(层叠样式表) - MDN Web Docs
使用参考文档定义的字符编码: <link> 元素的charset 属性。该方法在HTML5 标准中已废除,无法使用。 假设文档是UTF-8。 语法.
- 2[HTML][新手] 04. 中文編碼表示meta charset - 進度條
關於<meta charset="utf-8">. meta裡面主要放的是一些關於網站內容的描述或SEO相關的關鍵字等,除此之外,還有一個描述是關於編碼,它的擺放位置是 ...
- 3html中Charset=UTF-8还是中文乱码解决辦法 - CSDN博客
utf-8是国际编码,包括汉字,建议都设置成utf-8,省心; 步主如下: 第一:定义网页显示编码。如果不定义网页编码,那么我们浏览网页的时候,IE会自动 ...
- 4網頁(UTF-8) 於瀏覽器出現亂碼解法 - Tsung's Blog
PHP 送Header 告訴瀏覽器這頁是UTF-8 編碼. <?php header("Content-Type:text/html; charset=utf-8"); ?> 設定Apache ...
- 5HTML Charset - W3Schools
The UTF-8 Character Set ... UTF-8 is identical to ASCII for the values from 0 to 127. UTF-8 does ...