-
[html css] 엔티티 코드를 이용해서 특수문자를 표기.오늘의 정보 2022. 12. 9. 08:00728x90반응형
html문서에서는 특수문자 사용시 오류의 소지가 있기 때문에
엔티티 코드를 사용하여 표기함
&는 & 로 표기함
& 표기 결과는 밀크폼&치즈폼 으로 표기됨
&말고도 다양한 엔티티 코드가 있으니 아래 사이트를 참고해서 코드에는 특수문자를 엔티티코드로 사용 하도록 한다.
https://entitycode.com/#common-content
Entity Code - A Clear and Quick Reference to HTML Entities Codes
About EntityCode The idea came from my constant need to add those hard to remember HTML entity codes, such as the copyright symbol ( © ), every time I’m developing a new website or writing a new article. Usually, I either open one of my previously done
entitycode.com
728x90반응형'오늘의 정보' 카테고리의 다른 글
[html css] display: flex 속성으로 자식 개체 균등 정렬 (0) 2022.12.11 [html css] 선택자 after 속성으로 다이아몬드 꼬리 만들기. (1) 2022.12.10 [html css] 웹폰트 넣는 방법 font-family(폰트패밀리)사용 방법 2가지 (0) 2022.12.08 [html css] line-height 배수로 표기 (숫자만 표기 할 경우) (0) 2022.12.07 [html css] 배경색 rgba로 투명도 조절 (0) 2022.12.06