HTML <p> ƙaddar

Tafiyar da ɗaukar:

<p> tarihin bayanin na tsara kwananin.

Kwarewar browsers ne za a iya samun: <p> Tawagar da hanyar ɗaya a kafin da bayan kowane abin sha:

Kanawori:Kama na CSS Ayyuka kwananin.

Kuware:

Tuturu HTML:HTML ɗamɗin

Kwamfaniyar HTML DOM:Paragraph ɗin

Shafin

Tasiri 1

Kamar yadda ya zo:

<p>Wannan ita ce rubutu kanin cikin kwananin.</p>

Tsayi ɗaukace

Tasiri 2

Ayyuka rubutu a cikin kwananin (kama na CSS):

<p style="text-align:right">Wannan ita ce rubutu kanin cikin kwananin.</p>

Tsayi ɗaukace

Tasiri 3

Ayyuka CSS dona ce gurɗe yankin:

<html>
<head>
<style>
p {
  color: navy;
  text-indent: 30px;
  text-transform: uppercase;
}
</style>
</head>
<body>
<p>China, officially the People's Republic of China (PRC),is a country in East Asia. It is the world's second-most-populous country, with a population exceeding 1.4 billion. China spans the equivalent of five time zones and borders fourteen countries by land.With an area of nearly 9.6 million square kilometers (3,700,000 sq mi), it is the third-largest country by total land area. The country is divided into 22 provinces,five autonomous regions, four municipalities, and two semi-autonomous special administrative regions. Beijing is the national capital, while Shanghai is the most populous city and largest financial center.</p>
</body>
</html>

Tsayi ɗaukace

Example 4

More paragraphs:

<p>
in the source code,
this paragraph
contains many lines,
But the browser
Ignore it.
</p>

Tsayi ɗaukace

Example 5

HTML ɗanɗin poetry problem:

<p>
  Farewell the White Emperor in the colorful clouds,
  One day's return to Jiangling a thousand miles.
  The monkey's cry on both sides does not stop,
  Light boat has passed ten thousand mountains.
</p>

Tsayi ɗaukace

ɗanɗin ɗaukace

<p> Ɗanɗin ɗaukace tsohuwar ɗanɗin ɗaukace a cikin HTML.

ɗanɗin ɗaukace

<p> Ɗanɗin ɗaukace tsohuwar ɗanɗin ɗaukace a cikin HTML.

Dabɗin ɗaukace CSS

Ɗukwane kuma ɗaukace a cikin ɗaukace a cikin ɗaukace <p> Ɗanɗin:

p {
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
}

Tsayi ɗaukace

Ciwon ɗaukace

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Ciwon Ciwon Ciwon Ciwon Ciwon