javascript
Brief description  about Online courses   join in Online courses
View Joshua Peter Mshanga 's Profile

Header tag

Hi , is it possible to add <H2></H2> inside paragraph tag<p></p>

forexample: <div id="content">

<p>
<h2>HEADER TAG </h2>

</p>
</div>
How do you write the css for formating h2, will be like #content p h2{

}

and if you want to format paragraph will it be like:
#div content p{


}
Asked by Joshua Peter Mshanga | Mar 3, 2013 |  Reply now
Replies (2)
View web-developer instructor 's Profile
You can write <h2> tag inside <p> like this

<p> <h2> your text here </h2> </p>
Mar 29, 2013
View web-developer instructor 's Profile
Hi Joshua Peter Mshanga

You can define css for <h2> tag like this:-

h2{
// write css code here.
}
Mar 27, 2013