What Is HTML Template Tag And HTML Pre Tag? HTML In Hindi | Lesson No. 23

What Is HTML Template Tag And HTML Pre Tag
What Is HTML Template Tag And HTML Pre Tag
In this article, we will learn what is HTML Template Tag and HTML Pre Tag? How to use <templa> and <pre> tag in HTML.इन का कर क्या हैं? तो चलिए शुरू करतें हैं।


What is HTML Pre Tag?


When we write some paragraphs in HTML and you need to give much space between the paragraph, then you do not need to use <br> tags many times. You need to write your paragraphs between <pre></pre> tags. अगर आप कोई पैराग्राफ लिख रहें हैं तो लम्बा  स्पेस देने के लिए बार बार <br> tags का इस्तेमाल न करके <pre></pre> tag  Ka Use Karsakte Hain.


What is an HTML Template Tag?

 If you want to hide content in HTML or if you are not willing to see users view your content in HTML then you can use <template></template> tag. अगर आप किसी कंटेंट को छुपाना चाहतें हैं तो <template></template> के अंदर लिखें। निचे कोड मैं समझे।

<html>
<head>
<title>My Website</title>
</head>
<body>
<h1>Welcome To My Website</h1>
<template>
<pre>
This Is HTML     In Hindi Youtube Channel
HTML Full Form:       Hypertext Markup Language
HTML Run In Web    Browser.
</pre>
</template>
</body>
</html>



Watch Our Youtube Video Here


Post a Comment

0 Comments