Files
2nd/10_Wiki/Topics/Domain_Programming/Topic_HTML/HTML_Entities.md
T
Antigravity Agent c24165b8bc refactor(topics): 멀티 에이전트용 지식 재편 — _Common(공통 기본기) + Domain_* 구조
에이전트 8종(대화형/프로그래머 C·S/디자이너/설계자/기획자/QA/PD/PM)에게
[공통 기본 능력 + 롤별 Specialty] 2층으로 지식을 주입하기 위한 재분류.
문서 내용·포맷은 무수정, 폴더 이동만 (6,372개 문서 수 보존 확인).

- Topic_Programming → Domain_Programming (내부 구조 보존)
- Topic_Graphic → Domain_Design
- Topic_Business → Domain_Product
- Topic_General → Domain_General
- _Common 신설: Math(구 Topic_Math_Specialty), Reasoning(구 General/From_Thinking & Reasoning),
  Reasoning_Creativity(구 General/From_창의성), Communication(Poetic_Blog_Writing + From_writing)
- 타 도메인의 From_* 폴더는 유지 (출처 표기일 뿐, 이미 도메인에 맞게 분류된 문서)
- 빈 폴더 정리 (memory/procedures)
- 에이전트→폴더 매핑은 workspace의 .astra/agent-knowledge-map.json (9개 에이전트)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 11:05:56 +09:00

6.5 KiB
Raw Blame History

id, title, category, status, verification_status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, created_at, updated_at, review_reason, merge_history, tags, raw_sources, applied_in, github_commit
id title category status verification_status canonical_id aliases duplicate_of source_trust_level confidence_score created_at updated_at review_reason merge_history tags raw_sources applied_in github_commit
html-entities HTML Entities Frontend draft conceptual
character entities
reserved characters
non-breaking space
nbsp
entity name
entity number
diacritical marks
B 0.90 2026-06-23 2026-06-23
html
web
frontend
w3schools
entities
characters
https://www.w3schools.com/html/html_entities.asp

HTML Entities

🎯 한 줄 통찰 (One-line insight)

Reserved characters in HTML must be replaced with entities — written as an entity name (&name;) or an entity number (&#number;) — so the browser does not confuse them with tags. [S1]

🧠 핵심 개념 (Core concepts)

  • Reserved characters need entities — characters like < and > are reserved; if used directly in text, the browser might mix them up with tags. [S1]
  • Two entity forms — entity names (&entity_name;) or entity numbers (&#entity_number;) can both display reserved characters. [S1]
  • Names are easier — entity names are easier to remember than entity numbers. [S1]
  • Names are case sensitive — entity names must use the correct case. [S1]
  • Non-breaking space (&nbsp;) — a space that will not break into a new line and prevents the browser from truncating consecutive spaces. [S1]
  • Combining diacritical marks — marks can combine with alphanumeric characters to produce characters not present in the page's encoding. [S1]

🧩 추출된 패턴 (Extracted patterns)

  • Less-than&lt; or &#60; displays <. [S1]
  • Greater-than&gt; or &#62; displays >. [S1]
  • Ampersand&amp; displays &. [S1]
  • Non-breaking space&nbsp; keeps two words on the same line (e.g. 10 km/h, 10 PM) and adds real spaces. [S1]
  • Combining mark — base char + mark number, e.g. a&#768;à. [S1]

📖 세부 내용 (Details)

Reserved characters Some characters are reserved in HTML. If you use the less-than (<) or greater-than (>) signs in your HTML text, the browser might mix them with tags. Entity names or entity numbers can be used to display reserved HTML characters. [S1]

  • < (less than) = &lt;
  • > (greater than) = &gt;

Entity syntax An entity is written either as a name or as a number: [S1]

&entity_name;
&#entity_number;

For example, to display a less-than sign (<) we must write &lt; or &#60;. Entity names are easier to remember than entity numbers. [S1]

Note: Entity names are case sensitive. [S1]

Non-breaking space A commonly used HTML entity is the non-breaking space: &nbsp;. A non-breaking space is a space that will not break into a new line. Two words separated by a non-breaking space will stick together (not break into a new line). This is handy when breaking the words might be disruptive, for example: [S1]

  • § 10
  • 10 km/h
  • 10 PM

Another common use of the non-breaking space is to prevent browsers from truncating spaces in HTML pages. If you write 10 spaces in your text, the browser will remove 9 of them; to add real spaces to your text, you can use the &nbsp; character entity. The non-breaking hyphen (&#8209;) is used to define a hyphen character () that does not break into a new line. [S1]

Some useful HTML character entities

Result Description Name Number
(space) non-breaking space &nbsp; &#160;
< less than &lt; &#60;
> greater than &gt; &#62;
& ampersand &amp; &#38;
" double quotation mark &quot; &#34;
' single quotation mark &apos; &#39;
¢ cent &cent; &#162;
£ pound &pound; &#163;
¥ yen &yen; &#165;
euro &euro; &#8364;
© copyright &copy; &#169;
® registered trademark &reg; &#174;
trademark &trade; &#8482;

[S1]

Combining diacritical marks A diacritical mark is a "glyph" added to a letter. Some diacritical marks, like grave ( ̀) and acute ( ́), are called accents. Diacritical marks can be used in combination with alphanumeric characters to produce a character that is not present in the character set (encoding) used in the page. [S1]

Mark Character Construct Result
̀ a a&#768; à
́ a a&#769; á
̂ a a&#770; â
̃ a a&#771; ã
̀ O O&#768; Ò
́ O O&#769; Ó
̂ O O&#770; Ô
̃ O O&#771; Õ

[S1]

🛠️ 적용 사례 (Applied in summary)

The reserved-character substitutions (&lt;, &gt;, &amp;), the &nbsp; usage examples (10 km/h, 10 PM, preserving spaces), and the combining-mark constructs (a&#768; → à) are the canonical applied examples. No external project/commit applications found in the source.

💻 코드 패턴 (Code patterns)

Display a literal less-than sign:

&lt;
&#60;

Keep two words on the same line:

10&nbsp;km/h

Combine a base character with a diacritical mark:

a&#768;   <!-- renders as à -->

⚖️ 비교 및 선택 기준 (Comparison & decision criteria)

  • Entity name (&lt;) — easier to remember; case sensitive. [S1]
  • Entity number (&#60;) — numeric alternative producing the same character. [S1]

⚖️ 모순 및 업데이트 (Contradictions & updates)

No contradictions found in the source.

검증 상태 및 신뢰도

  • 상태: draft
  • 검증 단계: conceptual (실제 적용 사례 발견 시 applied/validated로 승격 가능)
  • 출처 신뢰도: B (W3Schools — widely used educational reference, not a primary standards body)
  • 신뢰 점수: 0.90
  • 중복 검사 결과: 신규 생성 (New discovery)

🔗 지식 그래프 (Knowledge Graph)

📚 출처 (Sources)

📝 변경 이력 (Change history)

  • 2026-06-23: Initial draft synthesized from the W3Schools "HTML Entities" page (Astra wiki-curation, P-Reinforce v3.1 format).