Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

HTML Consistency


MG719

Question

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 post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

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 post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...