Information Technology Reference
In-Depth Information
6
Figure 6.1
You can eas-
ily view the
source code
behind any
web page.
What distinguishes HTML as a Hypertext Markup Language is the use of additional tags that refer
to hypertext links. For instance, here's the HTML code to link some text to the WordPress.com
home page:
To go to WordPress.com, click <a href=”http://www.wordpress.com”>here</a> .
This code causes the word here to become a hypertext link. By default, the word here is displayed
in blue and underlined. When the user clicks on it, the contents of the browser change from the
page with the sentence in it to the WordPress.com home page.
The a in the tag stands for anchor . (Anchor management is important in complicated websites.)
The href in the tag stands for hypertext reference . A chunk of text that isn't a tag, but is used in a
defined way within a tag (as is done here), is called an attribute . Hypertext means that text can
exist in various files, on various web servers.
The great thing about learning and using HTML in the WordPress.com environment is that all sorts
of hassles are handled for you. You work at the level of individual posts; WordPress handles making
up the complete page by putting your post within a theme, as described in Chapter 3. WordPress
also hosts your files.
This saves you from one of the biggest hassles in web publishing. Traditionally, web developers
create web pages on their own machines. Once everything's right, the web developer then trans-
fers the web page to a web server.
Search WWH ::




Custom Search