Paragraph tag usage


Edit text in a web document


Download 138 Kb.
bet2/3
Sana14.12.2022
Hajmi138 Kb.
#1005162
1   2   3
Bog'liq
1Website development.. avazov

Edit text in a web document.
A web page's text and tags are combined into a file called an HTML document. Depending on which tag you use, the information will appear differently in the browser window. There are hundreds of tags for inserting and editing data in an HTML document. For example,
and
tags form a paragraph, while and tags are used to display text in italics. There are also hypertext link tags. These elements allow the user to link to another document when the mouse cursor is clicked on the hypertext. Hypertext and hyperlinks are the main part of the World Wide Web and HTML. With the help of special commands, a certain part of the text is separated in such a way that, as a result, when the mouse button is pressed on that text, another text or page opens. In addition, if multimedia tools work or not, an offer to save information on disk can be made.
Tags for formatting text in HTML documents are created, which can be conditionally divided into logical and physical formatting tags. Logical formatting tags provide structural markup that does not affect how the fragment is displayed on the screen by the browser. That is why such an assignment is called logical. The tag is used to name citations or links to books, articles, and other resources. Browsers display such text in italics.
HTML has the following physical editing tags:

Tags

The essence of tags






...

Italic




...

Bold (Vold)




...

Teletype




...

Underline




...

Line up




...

Increase font size






Decrease font size




...

Write to the index




...

Write to level




Any text has a certain structure. Usually, the elements of such a structure are headings, lists, subheadings, tables, paragraphs, etc.
Divide into paragraphs. Paragraph level tag. Paragraphs usually represent the completion of an idea in a text. In plain text editors, a paragraph is created by entering a newline character (pressing key). But in the process of creating an HTML document, newline characters do not cause a paragraph to be created. Because the original document's line breaks are ignored, text that looks great in the author's document window may be completely unreadable in the browser window. That's why the
tag is included in HTML language to divide texts into paragraphs. This tag should be placed before each paragraph. The closing
tag is optional in this case. Browsers interpret multiple consecutive
tags as a single tag. Browsers usually separate letter headers with a single blank line.
tag attributes: ALIGN horizontal alignment attribute values: LEFT, RIGHT, CENTER, JUSTIFY.
Example:


Paragraph tag usage



Download 138 Kb.

Do'stlaringiz bilan baham:
1   2   3




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling