CLHarrison Posted May 10, 2022 Share Posted May 10, 2022 Hi, I'm new to HTML and CSS. I've created 5 web pages and with the help of some on this forum I have them more or less as I want them. But I've come to realize that I should really be using a CSS stylesheet to manage them. My question is, can I create a CSS style sheet to include things like the header and navigation bar that I want to have the same on each page? I've not seen any examples of that so I'm not sure if there is a way to do it or not inside the CSS stylesheet. It would just save me time whenever I need to update the navbar menu across all pages. Thanks for any info on this. Link to comment Share on other sites More sharing options...
dsonesuk Posted May 10, 2022 Share Posted May 10, 2022 (edited) CSS does not do that! JavaScript or server language (PHP, ASP) only do that. Look up include in JavaScript and PHP tutorials. Edited May 10, 2022 by dsonesuk Link to comment Share on other sites More sharing options...
CLHarrison Posted May 12, 2022 Author Share Posted May 12, 2022 Thanks I will. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now