leeda-cloud

[HTML] Unicode UTF-8 (특수문자표) 본문

HTML & CSS & JS/HTML&CSS

[HTML] Unicode UTF-8 (특수문자표)

leeda-cloud 2023. 7. 13. 15:20

HTML에서는 특수문자가 포함된 텍스트가 있을 경우, 이것이 코드인지 그냥 텍스트인지 구분하지 못한다.

그래서 필요한 것이 유니코드인데 여러가지가 있다.

 

자주 사용하는 특수문자표

특수문자 유니코드
& &
< &lt;
> &gt;
" &quot;
&apos; 
# &num; 
&semi; 
 (공백, space) &nbsp; 
&Hat; 

 

위의 것들을 제외하고도 다양한 유니코드가 있다.

 

예를 들면 아래와 같다.

특수문자 유니코드
←  &larr;
&uarr;
→  &rarr;
&darr;
 ↔ &harr; 

이런 화살표도 표현이 가능한데 더 자세히 알아보고 싶다면 아래 링크로 들어가서 구경해보는 것도 재미있다.

 

https://www.w3schools.com/charsets/ref_utf_basic_latin.asp(기본)

 

HTML Unicode UTF-8

W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

www.w3schools.com

https://www.w3schools.com/charsets/ref_utf_arrows.asp(화살표)

 

HTML Unicode UTF-8

W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

www.w3schools.com

https://unicode-table.com/kr/html-entities/ 

 

Comments