2022.2

Table Of Contents
l
After elementinsertsitaftertheelementinwhichthecursoriscurrentlylocated.For
exampleifthecursoriswithinaparagraph,theinsertionpointwillbeaftertheendtagof
theparagraph(</p>).*
l
Replaceinsertsitinplaceofthecurrentlyselectedelement.(Thisoptionisnotavailable
wheninsertingcontentinaMasterPage.)
*Ifthecurrentelementislocatedinsideanotherelement,usetheElementsdrop-downtoselect
whichelementisusedfortheinsertionlocation.Thelistdisplayseveryelementinthebread-
crumbs,fromthecurrentselectionpointdowntotherootofthebody.
Note: HTMLhassomerestrictionsastowhichtypesofelementsareallowedaschildrenof
otherelements.Forexample,aparagraphelementisnotallowedtohavechildrenthatare
blocklevelelements-likeaDivoraTable.Ifinsertingcontentattheselectedlocation
wouldproduceinvalidHTMLthefinalresultmaybedifferentthanexpected.Forexample,
whenyouinsertaDivintoaparagraph,theparagraphgetssplitintwo.Thismeansyou
endupwithtwoparagraphswiththeDivinbetween.
Foralistoflinkstothedifferenttypesofelements,see"Elementtypes"onpage566.
Selecting an element
Whenanelementisselected,theAttributespaneshowstheattributesofthatelement,andtheStyles
pane,nexttotheAttributespane,showswhichstylesareappliedtoit.
Toselectanelementinthecontent,youcanofcourseclickonit,butthisisn'talwaysaseasyasit
seems,especiallywhentheelementhaselementsinsideit.
Tip: ClicktheEdgesbuttononthetoolbartemporarilyaddsaframetocertainelementsonthe
Designtab.ThesewillnotPrintoroutput.
Therearetwomorewaystoselectanelementinthecontent:
l
UsingtheBreadcrumbsatthetopoftheworkspace.
BreadcrumbsshowtheHTMLtagoftheclickedelement,aswellastheHTMLtagsof'parentele-
ments':elementsinsideofwhichtheclickedelementislocated.Theclickedelementisattheend
oftheline.
ElementswithclassesorIDsshowthesedetailsnexttothem,forinstancediv #contents >
Page 570