Web page graphic Design HTML basics
1, the basic elements of the Web page: text, images, hyperlinks
2, the basic body of the HTML head, title, body three parts
<title> title </title>
<body>
Body
</body>
3. Common tags/attributes
<body background background picture bgcolor background color text non-connected text color > body </body>
<p Align Alignment = "Left/right/center" > Text paragraph </p>
<br/> newline marker
<pre> pre-format tag, what to play, what to display in the browser </pre>
<!--note Tag to the program ape----
<center> Center </center>
<blockquote> Indent Text </blockquote>
<font size face font color> font </font>
<u> Underline </u>
<s> Delete Lines </s>
<b> Bold </b><strong> Bold </strong>
<i> Italic </i><em> Italic </em>
< says < > means > & means & " means "
Represents a space © means ©® represents ®
× represents x÷ = ÷
4. Notes
1 doing the project unify the picture in a folder
2 2 ways to introduce pictures
Absolute path D:/demo/images/123.gif (best not to use)
Relative path./images/1.gif a point represents a sibling directory
.. /demo/images/2.jpg two points represents the previous level of the directory, three points represent the upper parent directory, and so on
3 network commonly used image format
GIF is made up of 256 pixels, supports transparency, supports animations, and is small in size.
JPG is made up of megapixel, high quality, does not support animation, transparent
PNG Fireworks source format PNG8 support Transparent, PNG34, png32 do not support transparent
4<body> background picture in the background color, the picture is transparent can see bgcolor
Web Graphic Design HTML Day01