Jump to content

CSS External Style Sheet


Recommended Posts

Your CSS contains the information required to make your HTML look nice.

Make sure that you've linked your CSS back through your HTML page by using the <link> element like here.


Try something like this (replace mystyle.css with your own filename)

<link rel="stylesheet" type="text/css" href="mystyle.css">


Link to comment
Share on other sites

I think you should check your reference once. Also, check whether your HTML file and External CSS file is in a single folder or not. If both files are in a single folder then you should write a link tag between head tag as follows:

<link rel="stylesheet" type="text/css" href="yourcssfilename.css">


Link to comment
Share on other sites

  • 2 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...