Forexample, ifyouhad a filecalled, Paigedodgedhim.
Oh, andthesamefolderastheHTMLfilewiththeanchortagThenyouwouldusepagedothtmlasthe H roughoftheanchortagtowingtopagedothtml.
Anotheruseofthe H roughtagistolinktootherWebpagesbytheireuro.
Thisalsoworksexactlythesameas a sourceattributesoftheimagetag.
Ifyouwanttocreate a linktoGooglethanyouwouldcreateananchorattackandsaidthe H reftoGoogleZoro, thisyouaremustbethefulleuroofthewebsite, whichincludeshttpatthebeginning.
Soinsteadof a devotedsothatitisonitsownmind, we'readding a button, buttheroleof a buttonandwewillgiveyouthetextofpurchasethat's allthereistocreatingthisHTMLhere, aswecouldseeifwelookoverhere, wehavealltheelementsthatwehaveon.
ThispagecreatedanHTMLhere.
Thelastthingwehavelefttodoisaddinblinkssothatwecannavigatewiththehomestoreandaboutbuttonsthatwehaveuphereinordertodothatwholescrolltotheverytopandrapthistextinsideof a tag, aswetalkedaboutearlier, sothatnowourtextis a link.
Butinorderforthistowork, weneedthe A trapthatwetalkedaboutearlier.
Wecanwrapthisimagetaginsideofananchortag, andit'llworkas a buttoninordertodothisanchortenant, giveit a rich a trip, whichinthiscase, isgoingtobetheEarlofYouTube, https, colon, backslash, backslashyoutubedotcomAndthenwewillputtheimagetaginsideofthis a tag.
Nowwesaythatifyouhoveroveryoutwo, wecouldseethatthere's a button.
I haveonlyselectedthemostimportantandusefulHTMLelementstocoverinthisintroductorycoursebecausemanyoftheHTMLelementsareeitherobsoleteoronlyusefulinveryspecificscenarios.
Even I donotknowalltheHDmyelements, andyoushouldnotknowthemalleither.
Ifthereis, however, anyHTMLelementsorconceptsthatyoufeel I'vemissed, pleaseletmeknowdowntothecommentsbelowand I'llbesuretocoverthemThefuturevideosAlso, pleasedon't forgettolikeandsubscribeifyouenjoyingthecontent.
Hello, everybody.
Subtitles and vocabulary
Click the word to look it upClick the word to find further inforamtion about it