+ 7

The <pre> tag is an inline element?

Html

3rd Jun 2019, 3:46 AM
Bharat Bhushan
Bharat Bhushan - avatar
3 ответов
+ 12
No <pre> preformatted text is a block element. Pre tag preserves all the line breaks and spaces. Thanks
3rd Jun 2019, 4:06 AM
Prince PS[Not_Active]
Prince PS[Not_Active] - avatar
+ 7
The only inline elements that I know which create a line break are <br> and <hr>. Cmiiw.
3rd Jun 2019, 4:19 AM
Sonic
Sonic - avatar
+ 6
Thanku jii
3rd Jun 2019, 6:38 AM
Bharat Bhushan
Bharat Bhushan - avatar