<!DOCTYPE
html>
<html>
<head>
<style>
.p1
{
font-family: "Times New
Roman", Times, serif;
}
.p2
{
font-family: Arial,
Helvetica, sans-serif;
}
.p3
{
font-family: "Lucida
Console", "Courier New",
monospace;
}
</style>
</head>
<body>
<h1>CSS
font-family</h1>
<p class="p1">This is
a paragraph, shown in the Times New Roman
font.</p>
<p class="p2">This is
a paragraph, shown in the Arial
font.</p>
<p class="p3">This is
a paragraph, shown in the Lucida Console
font.</p>
</body>
</html>
<!DOCTYPE
html>
<html>
<бас>
<сценарий>
myFunction () функциясы
{
document.getElementById("demo").innerHTML = "абзац
өзгертілді".;
}
< /
сценарий>
</head>
<дене>
<h2>Head</h2
> ішіндегі JavaScript демонстрациясы
<P id="demo"
>Абзац.</p>
<түйме түрі= "түйме
"cclick=" myFunction ()" > </түймені қолданып
көріңіз>
< /
дене>
</html>
|