VB 6.0 - coding for ordered and unordered list
Asked By kuppu swami
10-Feb-12 05:27 AM
hi iam trying to generate tags automatically for ordered and un ordered list
any guys there to help meee....
ths
Somesh Yadav replied to kuppu swami

HI,
There are two tags two create an order list and unordered list.
Order List
You can insert numbering into your pages by simply using the <ol> (ordered list) and <li> (list item) codes.
<html>
<head>
<title>Order list in HTML</title>
</head>
<body>
<h1> Order list Example</h1>
<ol type="i">
<li>TV
<li>Sony
<li>Panasonic
<li>LG
<li>Samsung
</ol>
</body>
</html>
You can provide different attributes to the type element like (i, I, A, a) for different numbering formats.
You can also nest order list to get in other order list to get sub numbering. See the code below:
<html>
<head>
<title>Order list in HTML</title>
</head>
<body>
<h1>
Order list Example</h1>
<b>Television Models</b>
<ol type="I">
<li>Samsung
<ol type="i">
<li>Black & White
<ol type="a">
<li>Model 1
<li>
Model 2
</ol>
<li>Color
<ol type="a">
<li>Model 1
<li>
Model 2
</ol>
</ol>
<li>Sony
<ol type="i">
<li>Black & White
<ol type="A">
<li>Model 1
<li>
Model 2
</ol>
<li>Color
<ol type="A">
<li>Model 1
<li>
Model 2
</ol>
</ol>
<li>Panasonic
<ol type="i">
<li>B&W
<li>
Color
</ol>
<li>LG
<ol type="i">
<li>Black & White
<ol type="a">
<li>Model 1
<li>
Model 2
</ol>
<li>Color
<ol type="A">
<li>Model 1
<li>
Model 2
</ol>
</ol>
</ol>
</body>
</html>
Unordered List
You can insert bullets into your pages by simply using the <ul> (unordered list) and <li> (list item) codes.
<html>
<head>
<title>Unordered list in HTML</title>
</head>
<body>
<h1> Unordered list Example</h1>
<ul type="circle">
<li>TV
<li>Sony
<li>Panasonic
<li>LG
<li>Samsung
</ul>
</body>
</html>
You can provide different attributes to the type element like (square, circle) for different ordering formats.
You can also nest order list to get in other order list to get sub numbering. See the code below:
</head>
<body>
<h1>
Order list Example</h1>
<b>Television Models</b>
<ul>
<li>Samsung
<ul>
<li>Black & White
<ul>
<li>Model 1
<li>
Model 2
</ul>
<li>Color
<ul>
<li>Model 1
<li>
Model 2
</ul>
</ul>
<li>Sony
<ul>
<li>Black & White
<ul>
<li>Model 1
<li>
Model 2
</ul>
<li>Color
<ul>
<li>Model 1
<li>
Model 2
</ul>
</ul>
<li>Panasonic
<ul>
<li>Black & White
<li>
Color
</ul>
<li>LG
<ul>
<li>Black & White
<ul>
<li>Model 1
<li>
Model 2
</ul>
<li>Color
<ul>
<li>Model 1
<li>
Model 2
</ul>
</ul>
</ul>
</body>
</html>

Change button color? C++ / VB Is it possible to change the font color, background color, and font style of a button in an HTA? For example something like: Name = "btnAddAll" Font Color = [some color] Background Color = [some color] Font Style = [Some Style] Onclick = "FileAddAll"> As always, your help is much appreciated. VBScript Discussions
convert Uint32 to System.drawing.color .NET Framework Hi How can I convert Uint32 variable to System.drawing.color ?? Thanks in advanced Yaniv VB.NET Discussions VB.NET (1) Color (1) FromArgb (1) UInt32 (1) BitConverter (1) ToInt32 (1) GetBytes (1) Int32 (1) More details about my problem: I want to change the color of label (Label1.ForeColor which is system.drawing.color). I want to take the color from object which has a Uint32 color Yaniv = D7 = 9B = D7 = AA = D7 = 91: More
How to Convert. . . . In my application, the colors are store in database in VB color format. Ex: &H8000000F& The same values i have to fetch and send it to a web application ASP. But there when that color format is giving, it is giving error. how to change the format of vb color into a html format. urgently needed please. - --Kiran try to read this article! http: / / visualbasic to it. I think therer is a basic difference in the format string itself between VB and HTML, IN VB if you notice the color code for WHITE will be &H00FFFFFF&, but in HTML it will be #FFFFFF, The general
int points = 0; public Main3() { InitializeComponent(); } private void turqoise2(Graphics g) { SolidBrush wb = new SolidBrush(Color.White); SolidBrush bb = new SolidBrush(Color.Black); SolidBrush gb = new SolidBrush(Color.Green); SolidBrush ub = new SolidBrush(Color.Blue); SolidBrush rb = new SolidBrush(Color.Crimson); SolidBrush ob = new SolidBrush(Color.DarkOrange); SolidBrush vb = new SolidBrush(Color.Violet); SolidBrush yb = new SolidBrush(Color.Yellow); SolidBrush ab = new SolidBrush(Color.AliceBlue); SolidBrush cb
parent constructor. .NET Framework Hi guys (and gals!), I've got 2 classes, "TypesafeConstant" and "Color". "Color" inherits from "TypesafeConstant", and adds no new functionality. All "Color" does is to instantiate some class variables which are public instances of What "TypesafeConstant" does list. I can then query that list with a string (e.g. "Red") to return Color.Red. Now, if I take out the inheritance, and just have "Color" instantiating itself, everything works fine, but with the inheritance the Parse function errors with a ToUpper = sValue.ToUpper Then Return o End If Next End Function End Class Public Class Color Inherits TypesafeConstant Public Shared Red As Color = New Color("Red") Public Shared GreenAs Color = New Color("Green") Public Shared BlueAs Color = New Color("Blue