Professional Documents
Culture Documents
The Location response header indicates the URL to redirect a page to. It only
provides a meaning when served with a 3xx (redirection) or 201 (created) status
response.
Location: /index.html
2 cemu sluzi mime standard, koje se zaglavlje koristi u http saandardu za navodenje mime tipa
A media type (also known as a Multipurpose Internet Mail Extensions or MIME type) is a
standard that indicates the nature and format of a document, file, or assortment of bytes. It
is defined and standardized in IETF's RFC 6838.
The Internet Assigned Numbers Authority (IANA) is responsible for all official MIME types,
and you can find the most up-to-date and complete list at their Media Types page.
Content-Type header
Ugrađeni JavaScript DOM objekti • JavaScript također uključuje podršku i za DOM kroz
ugrađeni DOM JavaScript objekt document s cijelim nizom svojstava i metoda. • Svaki
JavaScript DOM objekt odgovara elementu DOM stabla HTML dokumenta. Svim DOM
elementima se treba pristupiti preko DOM stabla, stoga se uvijek kreće od document
objekta i onda se dohvaćaju child elementi: // ILI tijelo =
document.getElementsByTagName("body"); tijelo[0].bgColor = "red"; // ILI
document.body.bgColor = "blue"; 38
https://www.w3schools.com/js/js_htmldom_document
7 mijenjanje boje html elementa <font color="red">This is some text!</font>