Front-end/HTML 5, CSS3

URL에서 &amp ;사용하는 이유

prden 2021. 11. 13. 09:51

1. 사용이유

HTML uses characters like ampersand, greater than, less than, etc. in its syntax. So if someone wants to use those symbols in their web page, when they're putting the text in the HTML they need to put "&amp" for an ampersand, "&gt" for greater than, etc. When the browser displays the webpage, it understands to replace those with the proper characters.

 

 

참고자료 : https://www.reddit.com/r/explainlikeimfive/comments/3rkcvo/eli5_why_does_amp_sometimes_show_up_on_websites/

'Front-end > HTML 5, CSS3' 카테고리의 다른 글

1. 웹 퍼블리싱  (0) 2022.11.05
BEM 방법론, SASS와 SCSS  (0) 2022.11.05
data-* 속성  (0) 2022.01.30
2. HTML 태그  (0) 2021.11.13
3. CSS(cascading style sheet)  (0) 2021.10.14