2022.2

Table Of Contents
HTMLelement:a
Whenyouaddelements,suchastext,imagesoratable,tothecontentofatemplate,youareactually
constructinganHTMLfile.ItispossibletoeditthesourceoftheHTMLfiledirectlyintheDesigner;see
"EditingHTML"onpage568.
TheHTMLtagofahyperlinkormailto-linkis<a>.Thisissometimescalledananchortag.Foralistof
attributes,seehttps://www.w3schools.com/tags/tag_a.asp.
Addingahyperlinkormailtolink
1. Selecttextoranimage.
Note: Althoughitispossible,itisnotadvisabletoaddaHyperlinktootherelements,such
asaParagraphorDiv.HTML4specifiesthathyperlinksandmailto-linksmayonlycontain
inlineelements.Blockelements,suchasaDiv,maynotappearinsidealink.HTML5
statesthatthelink"maybewrappedaroundentireparagraphs,lists,tables,andsoforth,
evenentiresections,solongasthereisnointeractivecontentwithin(e.g.buttonsorother
links)";seehttps://www.w3.org/TR/html5/text-level-semantics.html.
2. ClicktheInsert hyperlinkbuttononthetoolbar,oronthemenu,selectFormat > Hyperlink >
Insert.
3. SelectURLtocreateanexternalhyperlinkpointingtoawebpageoraninternalhyperlinkpoint-
ingtoanotherpageinthedocument;orselectEmailtocreateamailto-linkthatwillopenthe
defaultemailclientwhenclicked.
4. ForaURL:
l
URL:
o
Externalhyperlink:Enteravalid,well-formedURLtolinkto.Itmuststartwiththepro-
tocol,suchashttp://orhttps://.
o
Internalhyperlink:EnteranID,precededbyahash;forexample:#myID.Thelink
willpointtoanelementwiththatID.
Note: Aninternalhyperlinkmaypointtoanelementinanothersection.Just
makesurethatthereisonlyoneelementinthedocumentwiththespecifiedID.
l
Target:usethedrop-downortypeinthetargetforthelink.Whenthetargetis_blankthe
linkwillopeninanewbrowserwindowortab.
Foramailto link:
l
Email:enteravalidemailaddressthatappearsbydefaultintheTo:fieldoftheemailcli-
ent.
Page 648