+ 2

How to write a vertical line, heading out paragraph in HTML ?

Please help me regarding how to write Vertical Line, heading, paragraph ,etc.. in HTML Is it even Possible or not ?

13th Jan 2020, 7:08 PM
Abhi
Abhi - avatar
11 Réponses
+ 3
You can use the CSS properties writing-mode and text-orientation to accomplish this: writing-mode: vertical /*will make text rotated sideways*/ text-orientation: upright; /*will make rotated text upright*/
13th Jan 2020, 8:34 PM
Jianmin Chen
Jianmin Chen - avatar
+ 2
You mean like the <hr> tag?
13th Jan 2020, 7:37 PM
BRDYDEV
BRDYDEV - avatar
+ 2
I mean how to write a Line that is displayed in Vertical way Like T H I S W A Y
13th Jan 2020, 7:42 PM
Abhi
Abhi - avatar
+ 2
Thanks you so much Sir for your kind answer
13th Jan 2020, 8:47 PM
Abhi
Abhi - avatar
+ 1
Means it's not possible in HTML alone ?
13th Jan 2020, 8:37 PM
Abhi
Abhi - avatar
+ 1
you mean this char | or you need something like <hr> ?
13th Jan 2020, 8:40 PM
aleksandar tadic
aleksandar tadic - avatar
+ 1
Yes, unless you place the CSS in the HTML file using the <style> tag.
13th Jan 2020, 8:41 PM
Jianmin Chen
Jianmin Chen - avatar
+ 1
<hr style="height: 100px; width: 1px; background-color: black"> something like this ?
13th Jan 2020, 8:47 PM
aleksandar tadic
aleksandar tadic - avatar
+ 1
{Heading} <h1>, <h2>.......<h6> tags h1 is largest and h6 is smallest heading. (I don't think there is a vertical line in html). {Horizontal line} <hr> tag {Paragraph} <p> tag You can look up all the tags in the HTML fundamentals course page
14th Jan 2020, 10:11 AM
Utkarsh
+ 1
Using <hr> tag
15th Jan 2020, 4:04 PM
Shaikh Mohammed Hassaan
0
<h1> vertical </h1>
15th Jan 2020, 7:16 AM
Ahmed Jama Hasan Mahamud
Ahmed Jama Hasan Mahamud - avatar