|
|
Basic HTML TagsBy Robert Niles Hypertext Markup Language [HTML] is the language of the World Wide Web. You can use HTML tags to mark up content for display on the Web. The most important tag in HTML is the hyperlink. This is the code you use to link text or an image on one Web page to another URL [Uniform Resource Locator] on the Web. Hyperlinks use an HTML tag called an anchor tag. Like many tags in HTML, the anchor tag comes in two parts...
Here is a hyperlink in action: <a href="http://www.domain.com/folder/page.html">This is a hyperlink</a> The a in the tag stands for "anchor." The href stands for "hyperlink reference." And the Web address after the equal sign is the Web page that the text between the anchor tags will link to. (Just substitute the URL of the page you want your readers to see when they click the hyperlinked text.) Sample HTML pageHere is a simple Web page that uses a variety of common HTML tags. Feel free to copy and paste sections of the code below, as appropriate, when posting content to the Web.
|
About Robert NilesRobert Niles lives in Southern California, where he works as a journalist and website editor.Follow Robert on Twitter Math and StatisticsMeanMedian Mode Percent Rates Standard Deviation Margin of Error Data Analysis Sample Sizes Stats Tests Student's T More Reading
More from RobertThemeParkInsider.comViolinist.com Sensible Talk What is Journalism? HTML Guide Finding Data on the Internet Covering Elections |