Alaska under the moon in the starry night
Statue of Liberty in Liberty Island in New York Harbor
USA stars Eye in the sky

Main (Home) page. USA 2017 "Lesson 05." - Tags and their attributes.


Somebody think about future. We make future today. USA2017.INUMO.RU. Peace, freedom, happiness for everyone in USA and everywhere on the Earth in 2017.

USA2017 :: "Lesson 05." - Tags and their attributes.

I searched all day along and finally found out all I need on USA2017.
/From the "Feedback collection on USA2017.INUMO.RU", USA2017.INUMO.RU./

HTML tutorial on USA 2017 Tags and their attributes. Lesson 05. Attributes are characteristics, parameters of a tag. There are two types of attributes: universal and specific. Examples of universal attributes: id, class, style. The id must have a unique value, because this attribute is used for accurate object identification. As a example of a specific attribute we can remember the attribute start for ordered lists.
First publication rights USA 2017 com



Lesson 05. Tags and their attributes.

Attributes are characteristics, parameters of a tag (element). HTML elements can have some attributes. Attributes provide additional information about an element (color, width, font, etc).

There are two types of attributes: Examples of universal attributes: id - must have an unique value, because this attribute is used for accurate object identification. Analog from real life - a passport number or a number of an employee in a factory.

class - many objects can have the same class. A single object can have multiple classes. Analogs from real life - nationality, gender, occupation, etc.

style - sets styles to display an object (parameter:value;). In this attribute you can specify multiple styles, separating them with ";" (semicolon).

Now let's add some attributes into our test page. We will centred the headers and add backgrounds. ↓
<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="UTF-8" />
<title>Test webpage after lesson 5, some attributes including </title>
</head>
<body>
<!--// 
The text between  and  describes the visible page content
Ы - just to force UTF-8 encoding
//-->
<h1 style="text-align:center; background-color:#F0FFFF;">"One-Storied America"</h1>
<h2 style="text-align:center; background-color:#F0FFFF;">"Odnoetazhna Amerika", <span style="background-color:#FFF0FF;">"Одноэтажная Америка"</span></h2>

<ol class="ul1">
	<li>Тhe Normandie</li>
	<li>The First Evening in New York</li>
	<li>What Can Be Seen From A Hotel Window</li>
	<li>Appetite Departs While Eating</li>
	<li>We Seek An Angel Without Wings</li>
	<li>Papa And Mamma</li>
	<li>The Electric Chair</li>
	<li>A New York Arena</li>
	<li>We Purchase an Automobile and Depart</li>
</ol>
<p>...</p>
<ol type="1" start="34" class="ul1">
	<li>Сaptain Х</li>
	<li>Four Standard Types</li>
	<li>The God of Potboilers</li>
	<li>Hollywood Serf</li>
	<li>Pray, Weigh Yourself, and Pay</li>
	<li>God’s Country</li>
</ol>
<p>...</p>
<p>-----</p>
<p>When we finally freed ourselves it was already evening. A white taxi-cab with three gleaming lanterns on its roof, looking like an old-fashioned carriage, took us to the hotel. At first we were tormented by the thought that because of our inexperience we had got into the wrong taxi, into some antiquated vehicle, and that we were funny and provincial. But, having fearfully looked out the window, we saw that automobiles with just as silly little lamps as ours were going in all directions back and forth. We quieted down a little. Later we were told that these little lamps are placed on the roof, so that the taxi may be more noticeable among a million other automobiles.</p>
<p>-----</p>
<p>Right on the sidewalk, by the wall of the building, lay tomorrow's newspapers. Passers-by bent down, took a New York Times or Herald Tribune and placed two cents on the ground beside the newspapers.</p>
<p>-----</p>
<p>In a word, we started off at a trot. We sped by signs on which in lights were outlined the words: 
<ul class="ul1">
	<li>"Cafeteria"</li>
	<li>"United Cigars"</li>
	<li>"Drugs—Soda"</li>
</ul>
or something else equally enticing yet so far utterly incomprehensible. Thus we ran to Forty-second Street, and there we stopped.</p>
<p>-----</p>
<p>At that very moment, when it occurred to us that we were so far from Moscow, before us floated the lights of the Cameo motion-picture theatre. The Soviet film, The New Gulliver, was being exhibited there.</p>
<p>-----</p>
<p>From one shabby little house came dull singing. The man who stood at the entrance to the house told us that this was the night lodging of the Salvation Army.<br>
"Who may sleep here?"<br>
"Anyone. No one is asked his name. No one is asked about his occupation or his past. Here night lodgers receive bed, coffee, and bread free of charge. In the morning they also get coffee and bread. Then they are free to go away. The sole condition is that they must take part in the evening and morning prayers."</p>
<p>-----</p>
<p>The old man talked with extraordinary facility; it seemed therefore I hat he was now appearing for at least the thousandth time. He clicked his fingers, laughed hoarsely, sang religious ditties, and ended up with great enthusiasm, shouting:<br>
"Let's sing, brothers!"
Again the dull, humdrum singing began.</p>
<p>-----</p>
<p>In the corners stood the prices: 5, 10, or 15: cents apiece, or 15 cents for two, or 10 cents for three. Even more tightly than the cigars lay small packages of cigarettes in soft covers, also wrapped in cellophane. Americans seem to smoke mostly
<ul style="list-style-type:square" class="ul1">
	<li>"Lucky Strike," a dark green package with a red circle in the middle;</li>
	<li>"Chesterfield," a white package with a gold inscription;</li>
	<li>"Camel," a yellowish package bearing the picture of a brown camel.</li>
</ul>
</p>

<p>-----</p>
<p>We walked into the elevator, and it rushed up. On the way the elevator stopped, the Negro opened the door, cried "Up!" and the passengers called out the numbers of their floors. A woman entered. All the men removed their hats and travelled on without hats. We followed suit. That was the first American custom we learned.</p>
<p>-----</p>
<p>At the twenty-seventh story we left the elevator and walked along a narrow corridor to our rooms. The large second-rate New York hotels in the centre of the city are built very economically. Their corridors are narrow, their rooms, although expensive, are small, and their ceilings are of standard height—that is, rather low. The client poses before the builder the problem of squeezing into a skyscraper as many rooms as possible. These small rooms, however, are clean and comfortable. They always have hot and cold water, a shower, stationery, telegraph blanks, postcards with views of the hotel, laundry bags, and printed laundry blanks on which you merely place figures indicating the number of pieces of soiled laundry being sent out.</p>
<p>-----</p>
<p>In the room was furniture which subsequently we saw in all the hotels of America without exception—in the East, the West, and the South. We did not visit the North.</p>
<p>-----</p>
<p>On the commode we found a fat little book in a black cover. On the book was the gold trade-mark of the hotel. The book proved to be a Bible. This ancient composition had been adapted for business people whose time is limited. On the first page was a table of contents especially composed by the solicitous management of the hotel:<br>
"For allaying spiritual doubts—page so-and-so, text so-and-so. <br>
"For family troubles—page so-and-so, text so-and-so. <br>
"For financial troubles—page . . ., text. . . <br>
"For success in business—page . . ., text . . ." <br>
That page was somewhat greasy.</p>
<p>-----</p>
<p>The windows of our little rooms looked out on three sides. Below lay New York at night.</p>
<p>-----</p>
<p>The newcomer need have no fear about leaving his hotel and plunging into the New York jungle. Despite the amazing sameness of its streets, it is well-nigh impossible to get lost there. Yet the secret is simple. The thoroughfares are divided into two types: the perpendicular ones, or avenues; and the horizontal, or streets.</p>
<p>-----</p>
<p>The automats have progressed farther along this road than the cafeterias. Although they have approximately the same outward appearance as the cafeterias, they differ from the latter in that they have carried the process of pushing food into American stomachs to the point of virtuosity. The walls of the automats are occupied throughout with little glass closets.    Near each one of them is a slit for dropping a "nickel" (a five-cent coin).</p>
<p>-----</p>
<p>Generally speaking, New York is remarkable because it has everything. There you can find the representatives of any nation, secure any dish, any object from an embroidered Ukrainian shirt to a Chinese stick with a bone handle in the shape of a hand, which is used for back-scratching, from Russian caviare and vodka to Chilean soup and Italian macaroni.</p>
<p>-----</p>
<p>All this beautifully prepared food is quite tasteless—colourless in taste. It is not injurious to the stomach. It is most likely even of benefit to it. But it does not present man with any delights, any gustatory satisfaction. When you select in the closets of the automat or on the counter of the cafeteria an attractive piece of roast, and then eat it at your table, having shoved your hat under your chair, you feel like a buyer of shoes which proved to be more handsome than substantial. Americans are used to it. They eat fast, without wasting a single extra minute at the table. They do not eat; they fill up on food, just as an automobile is filled with petrol. The French gourmet who can sit four hours at a dinner, chewing each piece of meat in exultation, washing it down with wine and then smacking every mouthful of coffee with cognac—he is, of course, no model man. But the cold American eater, bereft of the natural human desire to get some satisfaction out of food, evokes amazement.</p>
<p>-----</p>
<p>The performer again passed across the stage, sacrificing what little was left of her garments. To satisfy the theatre censorship, she held a bit of clothing before her with one hand. After the first dancer and singer another came out and repeated exactly what her predecessor had done. The third one did what the second had done. The fourth, fifth, and sixth did not make any new contributions. They sang without voice and without ear, and they danced with the grace of a kangaroo. But they disrobed. The other ten girls took their turns in faithfully repeating the same performance.<br>
The only difference between them was that some were brunettes (these were fewer in number), while others were light-haired lambs (there were more of these).<br>
This Zulu solemnity continued for several hours. It is pornography mechanized to such an extent that it acquires a kind of industrial and factory character. There is as little eroticism in this spectacle as in a serial production of vacuum cleaners or adding machines.</p>
<p>-----</p>
<p>Having finished his explanation, the workman smiled and said:<br>
  "Hurrying to the electric chair?   Wish you luck!"</p>
<p>-----</p>
<p>Moscow has seen the pictures of Lewis Milestone, King Vidor, Reuben Mamoulian, and John Ford: cinematographic Moscow has seen the best pictures of the best directors. Moscow theatre audiences have admired the little pigs, the penguins, and the Disney mouse, and were delighted with the masterpieces of Chaplin. These directors, with the exception of Chaplin who releases one picture in several years, make five, eight, ten pictures a year. But, as we already know, Americans "shoot" eight hundred pictures a year.</p>
<p>-----</p>
<p>All these pictures are below the level of human dignity. It seems to us that it is degrading for a human being to look at such pictures. They are designed for birds' brains, for slow-thinking human cattle of camel-like lack of fastidiousness.</p>
<p>-----</p>
<p>We saw a young man standing in the middle of the pavement. On his chest hung a placard which read:
I am hungry. Give me work.</p>
<p>-----</p>
<p>The first elevator lifted us at once to the eighty-sixth story. The rise lasts only one minute. Naturally, one could not see here either stories or landings. We raced in a steel tube, and only the ears, which seemed to have filled with water, and a strange little chill around the region of the abdomen, made us aware of the fact that we were rising at an incredible rate of speed. The elevator did not clang or knock. It moved precipitately, smoothly, noiselessly. Only at the door tiny lamps flared, counting off tens of stories. At the eighty-sixth story landing we stepped out on somewhat weakened legs.</p>
<p>-----</p>
<p>-----</p>
<p>-----</p>
<p>-----</p>
<p>PS. Ilf and Petrov's travel memoir, "One-Storied America", 1937 <br>
(rus original "Odnoetazhna Amerika", "Одноэтажная Америка")<br>
I don't know why, in USA this novel called "Little Golden America". Ilf and Petrov were against such strange title translation. <br>
There are random pieces from this novel to study HTML language. <br>
More info: /html/</p>

<h6>----- The end of the page -----<h6>
</body>
</html>


<h1 style="text-align:center; background-color:#F0FFFF;">"One-Storied America"</h1>
<h2 style="text-align:center; background-color:#F0FFFF;">"Odnoetazhna Amerika", <span style="background-color:#FFF0FF;">"Одноэтажная Америка"</span></h2>

As a example of a specific attribute we can remember the attribute start for ordered lists:
<ol type="1" start="34" class="ul1">

So we have placed mentioned above attributes on our test webpage:
article_005.html ← click to view, how it looks on this website...
article_005.zip ← download this webpage in zip archive to set on your website.

To visit more lessons use navigation bar below ↓,


More Info about "HTML and Internet basics" → ↓

"1&1" - one of the largest web hosts in the world.

Register with one of the largest web hosts in the world.

Our broad product portfolio of domains, website packages, web hosting packages and high-end server solutions gives you plenty of choice.

Click Here → ↓


Happy new searching to you!

What to do and where to go?

If you plan to come back later...
Please remember this page -
URL: https://usa2017.inumo.ru/html/p005.html
Basket is empty

Love Me Do portal. Miss USA 2017.
"Love Me Do"

Keep pornography out & protect your family. Content watch :: Stop Internet Porno. Free computer scan.
Content watch :: Stop Internet Porno.

Adobe Macromedia.
Adobe Macromedia.

"Love Me Do" portal on USA 2017.
"Love Me Do" portal on USA 2017.

Hosting Observer.
Hosting Observer.

Music portal on USA2017.INUMO.RU
Music portal on USA2017.INUMO.RU

USA2017.INUMO.RU Attention! Thank you for visit! I wish you great success in present and future!
Pleeeeeeease, don't forget to vote for me in 2017! Thanks for your support.
© CopyRight(R), CopyLeft(L), CopyCat(C) 2017, President of USA. USA2017.INUMO.RU.
We make future today. Join us now! Peace, freedom, happiness, for everyone in USA and everywhere on the Earth in 2017.
Our very special thanks for support to: Team of the hosting company.
News from USA 2017. Sign up!
Close and hide in basket
Account Now. Free direct deposit. Visa card. 100% Approval. $25 Bonus when you set up direct deposit. Sign Up in 60 seconds.
Close and hide in basket
Butlers Bubbly Game. Snow and skiing - the perfect holiday! Until Billy the Butler gets a thirst for your bubbly! Stop Billy before he polishes off ALL the champagne 'Moet et chandon' and stand in line to win incredible prizes!
Close and hide in basket
eToro. While markets plummet... You profit.