Skip to main content

Posts

Showing posts from October, 2024
A Pen by luke jarvis Pen Settings HTML CSS JS Pen Details Privacy PRO Behavior Editor Template Screenshot PRO HTML HTML Preprocessor About HTML Preprocessors HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug. Learn more · Versions None Haml Markdown Slim Pug Add Class(es) to <html> Adding Classes In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template . So you don't have access to higher-up elements like the <html> tag. If you want to add classes there that can affect the whole document, this is the place to do it. Stuff for <head> About the <head> In CodePen, whatever you write in the HTML editor is what goes within the ...