MYP5 |
HTML |
|||||||||||||||||||||||||||||||||||||
Kontakt: palkovaj@yahoo.com |
||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||
1. Text formatting
Basic tags for formatting the text:
There are also attributes in CSS, with which you can modify the basic tags to create more interesting results:
These can be applied to tags that surround some text you wish to format. You can create identifiers p, b, i, div...
<style type="text/css">
2. Inserting an image
The tag for an image in HTML is <img>. This is another one of those tags which do not have a closing tag at the end. The attributes of the <img> that we will use:
Find and download suitable picture on the net. Put the picture into your web-page. We will now see what tools we have for formatting the image in CSS.
Example of usage:
<style type="text/css">
|