HTML vs XHTML
HTML 과 XHTML 의 차이를 구조화된 비교 표에서 확인한 뒤, 관련 면접 질문, 퀴즈, 유사 비교로 이어가세요.
차이점 비교
HTML vs XHTML - A key comparison and difference of the topics or subjects that will help you understand which is best for your use case. Check out to compare XHTML and HTML as very common job interview questions.
HTML 과 XHTML 의 차이
HTML vs XHTML - A key comparison and difference of the topics or subjects that will help you understand which is best for your use case. Check out to compare XHTML and HTML as very common job interview questions.
|
HTML
|
XHTML
|
|---|---|
| HTML is Hypertext Markup Language. | XHTML is Extensible Hypertext Markup Language. |
| An application of SGML. | An application of XML. |
| Can have empty/open tags e.g. <br>, <p>. | All the unclosed tags must be closed e.g. <br/>, <p></p>. |
| No hard rule on structures of the elementse.g. <p><b>The difference</p></b>. | Structure of the elements should be followed e.g. <p><b>The difference</b></p>. |
| Attributes have quotes as optional e.g. <font color=#ff0000>. | Attributes have quotes mandatory e.g. <font color=”#ff0000?>. |
| Attributes values not significant e.g. <input type=”checkbox” checked>. | Attributes values are important e.g. <input type=”checkbox” checked = “checked”>. |
| Case insensitive:The tags and attributes can be of uppercase or lowercase as per the preference. | Case sensitive:The tags and attributes must be of lowercase. |
| All the content can be put under body element. | All the content has to be put in blocks (p, under body element. |
| HTML is not mandatory for one root element. | XHTML documents must have one root element. |
복습용 저장
이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.
관련 차이점
HTML 및 XHTML 와 관련된 유사 비교를 살펴보며 더 넓은 맥락과 면접 준비에 도움을 얻어보세요.
아래에서 차이점 보기
아래의 모든 주제 비교를 살펴보거나, 위 검색창을 사용해 목록을 즉시 좁혀보세요.