Абзац

     Пришло время научиться разбивать текст на абзацы. Для этого нужен всего лишь один дескриптор <p> и у него всего один параметр align, который, как вы уже догадались отвечает за выравнивание текста. А значит у него всего 3 параметра:
Не буду рассказывать о них , так как я делал это в первых главах.
но есть ещё один
  • justify - выравнивание по ширине.
    Вставим в наш код обьёмный текст и разобьём его на абзацы:

    <htm>
    <head>
    <title>начинаем учиться</title>
    </head>
    <body>
    <h1 align="center">Первые впечатления.</h1>
    Я пока <b>ни черта не умею</b>, но надеюсь, <i>что скоро смогу</i> кой-чему <u>научиться</u><br>
    Я уже научился форматировать текст, и мне начинает нравиться HTML. Теперь я знаю такие шрифты, как <font face="verdana">Verdana</font>, <font face="tahoma">Tahoma</font> и даже такой, как <font face="Haettenschweiler">Haettenschweiler</font> <font color="ff6600">Я даже</font><font color="cccccc"> умею</font> <font color="990066">менять </font> <font color="0000ff"> цвета</font><br><br>

    <p align="center"><font size="+1" face="tahoma">Тема 15. Сведения о культуре стран изучаемого языка и их вкладе в мировую культуру.</font></p>

    <p align="left">The influnce of the United States and Great Britain on the world culture can't be overestimated. We know many British artists and writers who influenced the world culture very much. I can name such painters as William Hogarth, John Constable, William Turner and Thomas Gainsborough. As far as the British writers are concerned many people know William Shakespeare, Walter Scott, Jeorge Byron, John Galthworthy, Jane Austen and many others.</p>

    <p align="center">We must also mention the influence of the British pop music on culture. The Beatles changed the world of pop music forever. Everybody seems to know their songs "Yesterday" and the "Yellow Submarine".</p>

    <p align="right">When talking about American culture we mean mass culture first of all. We can feel its influence when we switch on TV. There are American films for the most part.</p>

    <p align="center"> <font size="+1">Human Rights.</font></p>

    <p align="justify"><font face="garamond">Human rights were strongly violated during the second world war. That is why it was decided to adopt the Declaration of human rights. All people have a right to life, liberty, education and work. To my mind these are the basic human rights. I would like to talk about the right to get education. In our country secondary education is free and attending school is compulsory. The compulsory education ends after the 9th grade. There are some universities where you can study for free but there are some where you must pay for education. Our rights are written in the constitution of the Russian Federation.</font></p>

    <font face="verdana" size="-1">It is interesting to know that there is a right to look for happiness which is mentioned in the declaration of Independence. “We hold these truths to be self-evident: that all men are created equal, that they are endowed by their creator with certain inalienable rights, among these are life, liberty and the pursuit of happiness.”</font>

    </body>
    </htm>

    (Это текст с моего любимого сайта arnprior)
    вернуться     следующая глава

    Hosted by uCoz