answersLogoWhite

0


Best Answer

There is a horizontal rule, using the <HR> tag, but there is no corresponding vertical rule tag. What you can do is create a table and set it to show vertical lines only as a border, using the rules attribute of the Table tag, and setting its value to cols.

<TABLE border=5 bordercolor=Black Rules=Cols>

<CAPTION>Rules=Cols</CAPTION>

<TR><TD>January</TD><TD>January</TD><TD>January</TD></TR>

<TR><TD>February</TD><TD>February</TD><TD>February</TD></TR>

<TR><TD>March</TD><TD>March</TD><TD>March</TD></TR>

</TABLE>

You can also use the frame attribute in a similar way with its value set to LHS or RHS.

<TABLE border=5 bordercolor=Black Frame=RHS>

<CAPTION>Frame=RHS</CAPTION>

<TR><TD>January</TD><TD>January</TD><TD>January</TD></TR>

<TR><TD>February</TD><TD>February</TD><TD>February</TD></TR>

<TR><TD>March</TD><TD>March</TD><TD>March</TD></TR>

</TABLE>

Both of the above examples include borders, but they can be turned on or off, as you require, by setting the border to 0.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the vertical rule for HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does flip vertical do in HTML?

Flip vertical is a style element in HTML. It flips the image or text vertically.


How you can control the vertical alignment of the cell in the HTML table control?

VAlign


What does hr stand for in HTML?

Horizontal Rule


Where can I buy vertical file cabinets?

You can buy vertical file cabinets online or at office supply store. This site offers vertical cabinets http://www.justfilingcabinets.com/Vertical-Filing-Cabinets-C21368.html


How To create sub buttons from a button using HTML?

horizontal button with vertical submenus


What is the digits written to the left of the vertical rule of a stem and leaf plot are called?

The left side of the vertical rule of a stem-and-leaf plot is the "stem", so the numbers are the "stem," also.


How do you get vertical centering in HTML table data?

I think this is the correct answer. I'm not certain on what asking. &lt;valign=middle&gt;


What is the rule about vertical angles?

From my experience i don't know of any rule although it might be that its 180 degrees


What will line rule do if added to a webpage?

There is no such thing as "line rule" in HTML. There is, however, a horizontal rule, or &lt;hr&gt;, which will draw a horizontal line across the containing block, like this...


What is the name of the HTML rule where you define the level of tabbing in screenflows?

It's called the tabindex attribute,


Is HTML browser independent?

Standard html should work on any browser. Some browser manufacturers developed tags that just work on certain browsers. A good rule when designing html pages is to test the page on the major browsers.


What is another term for a horizontal line on a webpage?

It's called a "Horizontal Rule"... the HTML for that would be &lt;HR&gt;