I am a user of the content management system (TYPO3) that does not allow me to add something to the head of the html document. Is it possible to define a css style sheet and script in the body so that I do not duplicate corresponding styles and javascript everywhere in the html code that I add?
I am a user of the content management system (TYPO3) that does not allow
Share
Technically, it’s not valid to place a
styletag inside the body, but most, if not all browsers will actually implement it.I’ve always been under the impression that a
linktag should be inside theheadaccording to the specs, but given a quick test, it looks like using alinktag inside thebodyvalidates as HTML 5, so that might be an option. See Alohci’s comment about this below.And yes, you can place a
scripttag inside your body.