aE Rookemarks
SS UTML linkk can be used to” create bookmarks,
Ao that veadeva can err to specific parts
o a wel iprgee
=> To crete a bookmark — first evote the
bookmark, then cold a link to it-
=> When the link ts elickedl, the poge voll scroll
down oy ub to the location ustth the bookmark.
Ex— Ann id= Cy"> Chapter 4 fhe?
2a hyd =" "> Tomb to chapter 4 Zfa>
oe HTML Links
Links 9 axe fovrd in neaxly all web pages. links
allow usevs to click they wor (rm ge +o
Poge:
* Email Link
Use maito’ inetd the no attribute +o create
a link thot opens the revs email Prag ram.
&e-
fae hve] traiHot xy 28 gmail com!> Mall me [as
af “Telephone LinkUse tees tnsile tre href attbute do. ersote
aA link thot opens the User's calling Program .
ic secre =
2a ha] Males S889 HOSS"> Gall w ¢fa>
Q& How to epen link in rew tab ?
Ane. Use oblank ty the dengect actyilbute to
open dhe link in the, new tab:
kK 40 beg =" Hritps: [J wwwethecedlelelpein" ctoagek= Ses blink>
Sictciestioninieniannl
Visit Us a>
ake Class Artribute.
The clas ottrbutg often used to
pont to a clay name tn a style Sheet:
TH can also’ be vded bb TovaSeri pt to
accens and manipulocte elements vo ty
the specific claw name.
v
The claw attribute WW tase Senartive
Differort elena can shave same clam.
Syreta x
sabe ¢
a-- css propertits —->
_-_- nnn nar nr ni nm aaa Ra KAKKRHKAAHK LALLA OL OAE id Attribute
The HTML id ortribute is vAcl to speclfy
a unique td qe" on RTML Clenent-
The td attribute Specifics a unique tal for
an HTML clement.
= The id rome th eae comrtive:
Syntax
Htabe ¢
41-— css properties <->
y
se Samant Elements
Po Semantic element clearly deseribea Hy aa
to beth +he browser and the Aevelober.
Es rétabteS and zartcles — Slearly Alef ines
its covcterrt -
* Non- Semantic Element:
T+ telly nothing about Hs content:
Ex-— ddiv> and 2span>
He ElementThe asictiny element lef ines a section - in
A docwment:
Example 4 whee a sections element can be
Uded :
-& Chapter
+ Tnatroducton ’
Contact me
AR darticles Element
The Zavrtele> element Specifies inoleperclenty
sa contained cevtent-
Example of vohere the eartices clement can be
Useds
4c Forum posts
a Blog posts
* Neosbaber article
a thwde> — Element
THe headers element vepresenrts a container
{er ivtvedvetory content oy a wet of
paiva links.
Pe cheader> element Hy Picalty contains:
AA ROAR AOR OH HO Oo ow we eeae Hencling Element
a Logo or ten
snp Dovoul cain ‘have Several OY another cheaoler> element
ae ecte> Element
The Afocte> element defines a footer 4 a
dowment oy veetton,
A é footers elemeyrt ty Plealty contalva:
-e Contact info
* copyright info
* Authorship ‘ufo
BMP D You can have several apetos elements ty
One decumant- 1
ae navy Element
The army demert deaf ines a se a navigation links.
Net all the tinka 4 a document shovlo|
be inside a chavs element:
The sevy elament & bttenoleol only for mafor
blocks | navigation links:He Zasiles Clement
The asides element olefines some content
astde tom the content 4 placeol hy.
The casei Should oe Mdlivectty relocteol to the
Sorcem aing content:
a dfigeso and efigetbHen> Clements
The “tre tog specifies sey corttaingol
content, Uke diagrams, Photos , ete.
The
Zseetieon>
t casicle>
Zarttele>
dfecte >
2a2£6L ARMOR OO BH OO HB 6 8 Bw we ew