Load CSS files


To load CSS files, use the <link> tag. specify stylesheet for rel and style sheet type for type. Specify the URL of a file to load for href.

Sample Code [Output]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="content-type" content="text/html;charset=shift_jis">
<link rel="stylesheet" href="main.css" type="text/css">
You can load an external stylesheet file using the link tag.