Glavni problem sa prebacivanjem između HTML stranica je taj što pretraživač različito tumači strukturu dokumenta u zavisnosti od toga gde se nalazite u dokumentu. To može dovesti do grešaka ili neočekivanog ponašanja.
There are many ways to switch between HTML pages. One way is to use a hyperlink. Hyperlinks are created using the <a> tag. The <a> tag defines a hyperlink, which is used to link from one page to another. The href attribute specifies the URL of the page to link to. <a href="page2.html">Click here to go to page 2</a>
Ova linija koda stvara hipervezu koja ide na page2.html kada se klikne.
Krećite se između html stranica
Postoji nekoliko načina za navigaciju između html stranica u HTML-u. Jedan od načina je korištenje tag. Na primjer, da biste otišli na drugu stranicu HTML dokumenta, koristili biste sljedeći kod:
Šta je stranica
?
Stranica u HTML-u je dokument koji sadrži sav tekst i grafiku koji čine web stranicu.