Handling HTML Content in Drupal
If you aren't familiar with HTML, you're in luck: You don't need to know how to code in HTML to create links with Drupal. To see that you don't need to know HTML, consider the text in these two versions of the created Contact Me page node: one with HTML and one without.
With HTML code, the page text reads:
The best way to reach us is via e-mail. You can send e-mail to us at <a href="mailto://email@example.com">firstname.lastname@example.org</a>. For business inquiries regarding our technical writing services, please contact our agency, Studio B, at <a href="mailto://email@example.com"> firstname.lastname@example.org</a>.
Without HTML code, the text reads:
The best way to reach us is via e-mail. You can send e-mail to us at email@example.com. For business inquiries regarding our technical writing services, please contact our agency, Studio B, at firstname.lastname@example.org.
Both versions give you the same end result, e-mail addresses that are hyperlinks. The first version, with HTML tags, is a little tricky to type and definitely not as easy to edit if (for example) an e-mail address were to change.
Drupal does the dirty work for you. This also applies to web addresses and URLs. To create an HTML link, you would ordinarily have to type
Instead, Drupal automatically converts http://drupalfordummies.com into a link.
HTML requires tags to create paragraph and line breaks. Drupal handles this for you, behind the scenes, so you don't need to include <p> or <br> tags in your content.
This automatic formatting takes some of the work out of your content creation. When you create or edit your content by typing text in the Body text box of a basic page or article, it's very readable.