- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
HTML pre Tag
Information
1. The <pre> tag defines preformatted text.
2. Text in a <pre> element is displayed in a fixed-width font.
3. text preserves both spaces and line breaks.
4. syntax with :- <pre>.......</pre> tag
5. displayed in a fixed-width font.
6 .The text will be displayed exactly as written in the HTML source code.
Program
HTML <pre> tag
<html>
<head>
<title>html pre tag </title>
</head>
<body>
<pre> My name is ram
my college name is satara
I like Apple My favourity color is skyblue
</pre>
</body>
</html>
OUTPUT
Related Post :-
html aside tag
inline css in html
html login in form
- Get link
- X
- Other Apps

Comments
Post a Comment