티스토리 뷰
semantic 의 사전적 의미는 의미의, 의미론적인 입니다.
https://en.dict.naver.com/#/entry/enko/74453940307f4c45ba76b0aa988fc5c3
네이버 영어사전
미국/영국식 발음, 여러 종류의 출판사 사전 뜻풀이, 풍부한 유의어/반의어, 대표사전 설정 기능, 상세검색 기능, 영어 단어장 제공
en.dict.naver.com
해석해 보자면 의미를 가지고 있는 태그라고 할 수 있습니다.
의미가 있는 태그?
semantic tag는 html5 에서 두드러지는 기능의 하나로
<span></span>
<div></div>
위의 2개의 태그는 non-semantic tag 입니다.
위의 태그는 정말 많이 쓰이는 태그이지만 위의 태그 자체로는 의미가 존재 하지 않습니다.
기능만 있을뿐입니다.
우리는 위의 태그를 이용해서 효과를 사용할 뿐이고 tag 자체의 의미가 존재 하지 않습니다.
대표적인 semantic tag에는 <footer />가 있습니다
footer는 꼬리말 입니다.
단어로도 충분히 이해할 수 있고 위치또한 대략적으로 알수 있습니다.
즉 태그의 이름을 통해서 충분히 위치, 내용을 파악할 수 있는 것이 semantic tag 입니다.
출처 https://www.w3schools.com/html/html5_semantic_elements.asp
HTML Semantic Elements
HTML Semantic Elements Semantic elements = elements with a meaning. What are Semantic Elements? A semantic element clearly describes its meaning to both the browser and the developer. Examples of non-semantic elements: and - Tells nothing about its content
www.w3schools.com
'[html5]' 카테고리의 다른 글
[html5] 제목태그(Header tag) (0) | 2021.12.03 |
---|---|
[html] meta tag (0) | 2021.08.30 |
[html] html 태그 문법 (0) | 2021.08.26 |
[html] Hyper text 링크 걸기 (0) | 2021.08.26 |
[html] html 이란? (0) | 2021.08.25 |
- Total
- Today
- Yesterday
- JSX
- 코딩
- PYTHON
- reserved words
- java
- 바꾸는 법
- sql
- 파이썬
- rdt
- js
- 907
- ternary operator
- ORA-00984
- 별칭
- HTML
- ora-00907
- meta 속성
- vsCode
- CSS
- null
- javascript
- html5
- 28000
- Box Model
- 변수
- 앞뒤 공백 제거
- Primitive Data Type
- 호이스팅
- 배열
- 박스 모델
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |