chaper 3 part one Flashcards
(15 cards)
rember all characterstics of attribute
Attributes add extra info to HTML elements.
πΉ They go inside the opening tag.
πΉ Written as name=βvalueβ.
πΉ Used to control behavior, appearance, or function.
πΉ You can add multiple attributes (just separate with spaces).
πΉ Attribute names should be in lowercase.
what is the importance of title attribute and give the general syntax of it
Hovering over the paragraph will show the tooltip <tagname>Content</tagname>
rember about empty and non empty herf and general for what it used and give me the general syntax for both case
href used to move the user to specfic URL or it navigate the user to specfic URL but this work for non empty href if it is empty it dose not move as to any webstie link
syntax for non empty
<a>click here to get student portal </a>
syntax for empty
<a> this not navigate the user to any link</a>
how to use src
HTML is made up of elements or it has
closing tag
start tag
and content
if one elment has no end tag and content what we call it
void elemnt
upaired tag
self closing tag
empity element
give me example of self closing tag
img
hr
br
input
what dose it means Formatting in html
formating malt CSS santekem by html west yehonen negr bold senaderg italic senderg or yehon text fua belo endetay senderg formating yebalal
to foramting tag found in html what are there
pysical tag and
logical tag
what dose it means physical tag and for what importance it used
These tags change how text looks visually (style/appearance). These tags only focus on appearance, not on meaning.
give some example of physical tag
<b> β Makes text bold</b>
<i> β Makes text italic</i>
<u> β Makes text underlined</u>
<strike> β Strikethrough
β Superscript (like xΒ²)
β Subscript (like HβO)
</strike>
what it dose it means Logical Tags and give it example
These tags tell why the text is important β not just how it looks.Example tags:
<strong> β Strong importance (looks bold)</strong>
<em> β Emphasis (looks italic)</em>
<mark> β Highlighted text</mark>
<abbr> β Abbreviation (shows full form on hover)</abbr>
<cite> β Citation (like book or article title)</cite>
<code> β Code formatting</code>
<p>
</p>
Starts a new paragraph
Auto spacing of <p>
Browser adds space before and after <p>
Extra spaces/lines of <p>
Ignored by browser (only 1 space shown)