- Introduction to Phrase tags in HTML in Hindi
- Text Abbreviation tag in hindi,
- Marked tag in hindi,
- Strong text in hindi,
- Emphasized text in hindi,
- Definition tag in hindi,
- Quoting text in hindi,
- Short Quotations in hindi,
- Code tags in hindi,
- Keyboard Tag in hindi,
- Address tag in hindi,
Introduction to Phrase tag in HTML
HTML वाक्यांश (phrase) टैग special purpose टैग हैं, जो text के खंड या text के शब्दार्थ के संरचनात्मक अर्थ को परिभाषित करता है। निम्नलिखित वाक्यांश टैग की सूची है, जिनमें से कुछ पर हम पहले ही HTML formatting में चर्चा कर चुके हैं।
- Abbreviation tag : <abbr>
- Acronym tag: <acronym> (not supported in HTML5)
- Marked tag: <mark>
- Strong tag: <strong>
- Emphasized tag : <em>
- Definition tag: <dfn>
- Quoting tag: <blockquote>
- Short quote tag : <q>
- Code tag: <code>
- Keyboard tag: <kbd>
- Address tag: <address>
1. Text Abbreviation tag in hindi
इस टैग का उपयोग किसी text को संक्षिप्त करने के लिए किया जाता है। किसी text को संक्षिप्त करने के लिए, <abbr> और </ abbr> टैग के बीच text लिखें।
उदाहरण
<p>An <abbr title = "Hypertext Markup language">HTML </abbr>language is used to create web pages. </p>
Output:
2. Marked tag in hindi
<Mark> और </ mark> टैग के बीच लिखी गई सामग्री ब्राउज़र पर पीले निशान के रूप में दिखाई देगी। इस टैग का उपयोग किसी विशेष text को highlight करने के लिए किया जाता है।
उदाहरण
<p>This tag will <mark>highlight</mark> the text.</p>
Output:
3. Strong text in hindi
इस टैग का उपयोग content के महत्वपूर्ण text को प्रदर्शित करने के लिए किया जाता है। <Strong> और </ strong> के बीच लिखे गए text को महत्वपूर्ण text के रूप में प्रदर्शित किया जाएगा।
उदाहरण
<p>In HTML it is recommended to use <strong>lower-case</strong>, while writing a code. </p>
Output:
4. Emphasized text in hindi
इस टैग का उपयोग text पर जोर देने के लिए किया जाता है, और text को italic में प्रदर्शित करता है। <Em> और </ em> टैग के बीच लिखा गया text italicized हो जाएगा।
उदाहरण
<p>HTML is an <em>easy </em>to learn language.</p>
Output:
5. Definition tag in hindi
जब आप <dfn> और </ dfn> टैग का उपयोग करते हैं, तो यह content के कीवर्ड को specify करने की अनुमति देता है। निम्नलिखित परिभाषा को दर्शाने के लिए उदाहरण है।
उदाहरण
<p><dfn>HTML </dfn> is a markup language. </p>
Output:
6. Quoting text in hindi
HTML <blockquote> element से पता चलता है कि enclosed content किसी अन्य source से quote की गई है। source URL को cite attribute का उपयोग करके दिया जा सकता है, और source का text representation <cite> ….. </ cite> तत्व का उपयोग करके प्रदर्शित कर सकता है ।
उदाहरण
<blockquote cite="https://www.keepinspiring.me/famous-quotes/"><p>?The first step toward success is taken when you refuse to be a captive of the environment in which you first find yourself.?</p></blockquote>
<cite>-Mark Caine</cite>
Output:
7. Short Quotations in hindi
एक HTML <q> ……. </ q> तत्व एक छोटे quotation को परिभाषित करता है। यदि आप <q> ……. </ q> के बीच कोई content डालेंगे, तो यह text को double quotes में enclose करेगा।
उदाहरण:
<p>Steve Jobs said: <q>If You Are Working On Something That You Really Care About, You Don?t Have To Be Pushed. The Vision Pulls You.</q>?</p>
Output:
कंप्यूटर कोड के भाग को प्रदर्शित करने के लिए HTML <code> </code> तत्व का उपयोग किया जाता है। यह content को monospaced fonts में प्रदर्शित करेगा।
<p>First Java program</p>
<p><code>class Simple{ public static void main(String args[]){
System.out.println("Hello Java"); }} </code>
</p>
Output:
9. Keyboard Tag in hindi
HTML में keyboard tag, <kbd> point करता है कि content का एक भाग keyboard से user inputed है।
<p>Please press <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + t<kbd></kbd> to restore page on chrome.</p>
Output:
10. Address tag in hindi
एक HTML <address> टैग content के लेखक के बारे में संपर्क जानकारी को परिभाषित करता है। <address> और </address> टैग के बीच लिखी गई content, फिर इसे italic font में प्रदर्शित किया जाएगा।
<address> You can ask your queries by contact us on <a href="">[email protected]</a>
<br> You can also visit at: <br>58 S. Garfield Street. Villa Rica, GA 30187.
</address>
Output: