Ajay P. answered 07/14/22
Tutor
New to Wyzant
helping to turn ideas to startups
try this example
<airline>
<ad><program>PROGRAM TO STORE AIRLINE INFORMATION </program></ad>
<ad><heading>AIRLINE INFORMATION AS FOLLOWS</heading></ad>
<ad><heading> Airplane 1 System: </heading></ad>
<info>
<ad>Airline number:<Anumber>AP01</Anumber></ad>
<ad> Name:<name>Sarvesh</name></ad>
<ad>Destination:<dest>Delhi</dest></ad>
<ad>Year Of Manufacturing:<yom>2010</yom></ad>
<ad>Price:<price>20,000</price></ad>
</info>
<ad><heading> Airplane 2 System: </heading></ad>
<info>
<ad> Airline number:<Anumber>AP02</Anumber> </ad>
<ad>Name:<name>Modiji</name></ad>
<ad>Destination:<dest>Gujarat</dest></ad>
<ad>Year Of Manufacturing:<yom>2014</yom></ad>
<ad>Price:<price>50,000</price></ad>
</info>
<ad><heading> Airplane 3 System: </heading></ad>
<info>
<ad> Airline number:<Anumber>AP03</Anumber></ad>
<ad>Name:<name>Chempavathy</name></ad>
<ad>Destination:<dest>Germany</dest></ad>
<ad>Year Of Manufacturing:<yom>2020</yom></ad>
<ad>Price:<price>90,000</price></ad>
</info>
</airline>
CSS style sheet: 7a.css
/* Define styling properties for each tag of the xml file */
ad{display:block;}
program{text-decoration:underline;font-size:20pt;color:red;}
heading{font-size:20pt;color:blue;}
airline {margin-top:30px;font-weight:bold;color:black;}
info {margin-left:50px;color:gray;}
Anumber, name {color:red;font-size:15pt;}
dest {color:blue;font-size:15pt;}
yom, price {color:green;font-size:15pt;}
Ajay P.
not abel to add full code so message me if need any help07/14/22