Skip to content
how do i change the color/font in a different file html 5
Profile icon
jibbeiscool

how do i change the color or the font in a different file like if i creat a new file and want to add color to stuff in that file how
at this point im talking about the krista acc info file

You are viewing a single comment. View All
Profile icon
Coder100

Hello, your file will need a .html extension in order to render properly. Also, to style the page, just add <link href="style.css" rel="stylesheet" type="text/css" /> and color it accordingly inside style.css.

Profile icon
jibbeiscool

@Coder100
this doesnt work i added the and its still not working

Profile icon
Coder100

ah yes, because it is relative to the folder path!
Ok, try this:

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

@jibbeiscool