What knowledge must a website developer have?

HTML and CSS

Client script - JavaScript and the DOM

Server script - ASP, PHP

XML and SQL< /p>

CSS Guide syntax

CSS defines how HTML elements are displayed.

CSS describes the visual style (appearance, layout, color, font) of HTML elements.

CSS is a separately designed file (thereby greatly increasing the flexibility of HTML and reducing the complexity of HTML).

CSS is simple and easy to learn. You can treat an HTML element as a selector and list style attributes within curly braces

CSS Guide example

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>php Chinese website (php.cn)</title>

<style>
body
{
background-color:#d0e4fe;
}
h1
{
color:orange;
text-align:center;
}
p
{
font-family:"Times New Roman";
font-size:20px;
}
</style>
</head>
<body>
<h1>CSS Example!</h1>

<p>This is a paragraph. </p>
</body>

</html>

Run Instance»

Click "Run Instance" " button to view online examples