use fonts in style sheets.snp

来自「Delphi编写的一个支持语法高亮显示和很多语言的文本编辑器」· SNP 代码 · 共 49 行

SNP
49
字号
<!-- A style sheet example of how to control your
pages by SETTING what things will do for the
whole page at once. You can put as many of these
attributes for any FONT in the HEAD tag. Then
text will appear as what you have set it for
all the time through out your page, IE 3.0+ -->


<HTML>
<HEAD>

<TITLE>This is a Style Sheet</TITLE>

<STYLE>
<!--

BODY { color : #FFFFFF;
font-size : 16pt;
font-family : Comic Sans MS}

P { color : #004080;
font-weight: medium;
font-style : normal;
font-size : 30pt;
font-family : Courier New,Arial}

H1 { color : #FF0000;
font-weight: bold;
font-size : 18pt;
font-family : Arial}

H2 { color : #008000;
font-weight: medium;
font-style : normal;
font-size : 100pt;
font-family : Arial}


-->
</STYLE>
</HEAD>

<BODY>

<CENTER><P>Hello there how are you ?</P>
<H1> I am fine, and you ?</H1>
Pretty cool huh ?
<H2> Yeah !</H2></CENTER>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?