Hi I'm working on this code, one of the suggestions I received was to wrap the code in <p> tags. If I'm correct that's not allowed? and secondly I would like the text below the <span> tag to appear on a separate line, though I don't want to use display:block for the span, is there another way? Should I use a div tag or just place a br tag above and below the span tag?
<style type="text/css">
.code {
color: #0000cc;
}
.comment {
color: #009933;
}
</style>
<p>
<div class="code">
... bunch of text ...<br>
...more text...<br>
<span class="comment">' comment to go here</span>
... more text ...
</div>
</p>
<style type="text/css">
.code {
color: #0000cc;
}
.comment {
color: #009933;
}
</style>
<p>
<div class="code">
... bunch of text ...<br>
...more text...<br>
<span class="comment">' comment to go here</span>
... more text ...
</div>
</p>