[Nfb-web] html question

Tami Jarvis tami at poodlemutt.com
Thu Apr 4 20:23:11 UTC 2013


Hi, Susie.

For glossaries and the like, I prefer to use HTML definition lists, as 
follows:

<dl>
<dt>
Term1
</dt>
<dd>
Definition1
</dd>
<dt>
Term2
</dt>
<dd>
Definition2
</dd>
</dl>

This will output the results in a visually sensible and readable fashion 
without your having to fuss with tables. The definition is on a separate 
line following the term and indented.

You can use the <strong> tag to make the term appear in bold, or use CSS 
for further styling. Since you're studying something else, you may not 
want to fuss with CSS, though. I'm a nut for the stuff, so couldn't 
resist mentioning it. /smile/

hth,

Tami

On 04/04/2013 12:55 PM, Stanzel, Susan - FSA, Kansas City, MO wrote:
> Good afternoon Everyone,
>
> I am learning Java Server Pages. I need to put in a glossary of terms. I first had it with lines simply separated by a <br>. I am now thinking that is probably not very visually attractive. I had the name in bold and the definition simply followed. Do you think I should put it in a table? If so, what would be the simplest way to do it.
>
> Susie Stanzel
>
>
>
>
> This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.
> _______________________________________________
> Nfb-web mailing list
> Nfb-web at nfbnet.org
> http://nfbnet.org/mailman/listinfo/nfb-web_nfbnet.org
> To unsubscribe, change your list options or get your account info for Nfb-web:
> http://nfbnet.org/mailman/options/nfb-web_nfbnet.org/tami%40poodlemutt.com
>




More information about the NFB-Web mailing list