Development
FAQs: Basic HTML Tags
(for formatting in Web forms)
(Last rev.
July 16, 2004
)
When entering text in the Web forms that create news, course
descriptions, faculty bios, and other items on the Dept. Web
site, you can use these simple HTML tags to add formatting effects
that will be visible to the end-user: |
| Paragraph Breaks
To insert a line break between paragraphs of text, type
two break tags as follows: <br><br> |
| Highlighting Text
To create italics, bold, underline, put these tags around
text as follows (note that the end-tag is preceded by a backslash):
- <i>Example of italic text</i>
- <b>Example of bold text</b>
- <u>Example of underlined text</u>
|
Adding a Hypertext Link
To create a link in your text to a Web page, follow this example:
<a href="http://vos.ucsb.edu/">Voice
of the Shuttle</a> |
| Adding a Mailto Link
To put an e-mail link inside a name, follow this example:
<a href="mailto:ayliu@humanitas.ucsb.edu">Alan
Liu</a> |
| |
More Complex HTML effects
You can use just about any HTML effect by entering the literal
code for that effect in the Web forms--e.g., tables, colored
text, images, etc. For anything complex, however, the best method
is to create the page in Dreamweaver and then copy-and-paste
the source code into the Web form that feeds the database. (Do
a select-and-copy in Dreamweaver, not a select-all, since you
don't want to copy into the Web form the <HTML>, <HEAD>,
or <BODY> tags that set up a Web page. The database-created
Web page you are using the Web form to insert text into already
has those tags.) |
|
|
|