chaper 3 part one Flashcards

(15 cards)

1
Q

rember all characterstics of attribute

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is the importance of title attribute and give the general syntax of it

A

Hovering over the paragraph will show the tooltip <tagname>Content</tagname>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

rember about empty and non empty herf and general for what it used and give me the general syntax for both case

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

how to use src

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

HTML is made up of elements or it has

A

closing tag
start tag
and content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

if one elment has no end tag and content what we call it

A

void elemnt
upaired tag
self closing tag
empity element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

give me example of self closing tag

A

img
hr
br
input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what dose it means Formatting in html

A

formating malt CSS santekem by html west yehonen negr bold senaderg italic senderg or yehon text fua belo endetay senderg formating yebalal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

to foramting tag found in html what are there

A

pysical tag and
logical tag

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what dose it means physical tag and for what importance it used

A

These tags change how text looks visually (style/appearance). These tags only focus on appearance, not on meaning.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

give some example of physical tag

A

<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>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what it dose it means Logical Tags and give it example

A

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>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

<p>
</p>

A

Starts a new paragraph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Auto spacing of <p>

A

Browser adds space before and after <p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Extra spaces/lines of <p>

A

Ignored by browser (only 1 space shown)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly