twitter
261
edits
(→HTML) |
(→HTML) |
||
Line 3: | Line 3: | ||
Creating hypertext with HTML can be done with a simple code. The HTML link syntax looks like this: <a href="url">Link text</a> [http://www.w3schools.com/html/html_links.asp#gsc.tab=0] | Creating hypertext with HTML can be done with a simple code. The HTML link syntax looks like this: <a href="url">Link text</a> [http://www.w3schools.com/html/html_links.asp#gsc.tab=0] | ||
Example: To link to a page about linking, I would use this code <nowiki><a href="http://www.w3schools.com/html/html_links.asp#gsc.tab=0">Links</a></nowiki>. It would then appear as: [http://www.w3schools.com/html/html_links.asp#gsc.tab=0 Links]. This HTML code will work on websites that support HTML coding. It's important to remember that various websites will have their own method of adding hypertext to a post. For example, this wiki does not use the HTML code shown above. Instead, hypertext is shown by placing a url in standard brackets and then simply typing the word you wish to display. It looks like this: <nowiki>[http://www.wikipedia.org Wikipedia]</nowiki> and displays as this:[http://www.wikipedia.org Wikipedia].[http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet] | Example: To link to a page about linking, I would use this code <nowiki><a href="http://www.w3schools.com/html/html_links.asp#gsc.tab=0">Links</a></nowiki>. It would then appear as: [http://www.w3schools.com/html/html_links.asp#gsc.tab=0 Links]. This HTML code will work on websites that support HTML coding. It's important to remember that various websites will have their own method of adding hypertext to a post. For example, this wiki does not use the HTML code shown above. Instead, hypertext is shown by placing a url in standard brackets and then simply typing the word you wish to display. It looks like this: <nowiki>[http://www.wikipedia.org Wikipedia]</nowiki> and displays as this: [http://www.wikipedia.org Wikipedia]. [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet] | ||
=== Use the Link button === | === Use the Link button === |