Page 34 - modular_v2.0_HTML&_CSS_Fb
P. 34
Let us create a web page to use the external CSS.
CSS Code
CSS file
"mystyle.CSS"
is linked here.
HTML Code
Output
The above-mentioned example will work only if the files are in the same folder. Otherwise, you
need to provide the absolute path of the mystyle.css file in the HREF attribute of the <LINK> tag.
Internal CSS
CSS design can also be applied into a HTML document by using <STYLE> tag. This tag should
be placed inside the <HEAD>...</HEAD> tag. An Internal CSS is commonly used when one web
page has a unique style.
<!DOCTYPE HTML>
<HTML>
<HEAD>
32
Touchpad MODULAR (Ver. 2.0)

