MG719 Posted April 30, 2020 Share Posted April 30, 2020 Hi, I'm adjusting the font-sizes using HTML/CSS, and I was just wondering if the <p1>, <p2>, and so forth tags stay the same throughout the pages, or if they only apply to that page. Eg. If I have Page A where <p1> is font-size: 20px, will that mean Page B <p1> is also automatically font-size: 20px? Link to comment
ChromaticZero Posted May 6, 2020 Share Posted May 6, 2020 Best way to learn is to try! It really depends on where you're changing these values. If you're changing them in a stylesheet that gets loaded on every page, then it will change it everywhere. <html> <link rel="stylesheet" href="style.css" /> ... </html> If you're changing them within the html of a particular page, it will only change the values of that page. <html> ... <style> h1 { font-size: 20px; } </style> ... <body> </body> </html> If you're changing it inline it will only change that individual header. <h1 style="font-size: 20px"> If you're changing this in the Squarespace Custom CSS section, it should apply to all pages. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.