Basic HTML and CSS Markup for WordPress Themes
When you work with WordPress themes to create web designs, you use basic HTML, combined with CSS styling, to accomplish the formatting and styling you desire for your Web site. Here's a rundown of some basic HTML and CSS markup.
| Name |
Description |
HTML Markup Example |
CSS Example |
<head>
</head> |
Indicates the header portion of a Web page that contains
invisible, but vital, information about the page, such as the title
and keywords. |
<head>
<title>My Web Site</title>
</head> |
N/A |
<body>
</body> |
Defines the content area of your Web page that's visible in
your visitor's browser window. |
<body>
<p>This is my content</p>
</body> |
body {background: white; color:black} |
<a href="..">
</a> |
Inserts a hyperlink for either a word or an image. |
<a href="http://google.com">Google</a> |
a {color:blue} |
| <img src=".."> |
Inserts an image in a Web page. |
<img src="http://yourdomain.com/image.jpg" /> |
img {padding 4px; border: 1px solid silver} |
<p>
</p> |
Defines groupings of text in paragraphs. |
<p>This text is treated as a paragraph</p> |
p {margin: 1.2em; line-height: 1.2em; color: red} |
<h1>
</h1> |
Defines a first-level heading, usually a title or menu heading.
You can also use h2, h3, h4, h5, and h6. |
<h1>This is a title</h1> |
h1 {font-size: 18px; color: blue; margin: 10px 0;} |

Web Design & Development Glossary
AJAX
asynchronous JavaScript and XML. A technique used in web page development.

Web Design & Development Glossary
API
application programming interface. A set of rules programs use to communicate with each other.

Web Design & Development Glossary
color stop
A special element that indicates a color to be added to a gradient.

Web Design & Development Glossary
FTP
File Transfer Protocol. A network protocol useful for transferring files in a client-server relationship.

Web Design & Development Glossary
HTML
HyperText Markup Language. The predominant language for building web pages.

Web Design & Development Glossary
HTTP
HyperText Transfer Protocol. The primary networking language for the Internet.

Web Design & Development Glossary
PHP
PHP Hypertext Processor. A scripting language that works well within HTML.

Web Design & Development Glossary
socket
A technology that allows remote computers to maintain a persistent connection in order to communicate with each other.

Web Design & Development Glossary
sprite
An graphic object on a web page that will be manipulated in real time.

Web Design & Development Glossary
SQL
Structured Query Language. A programming language useful in managing relational databases.

Web Design & Development Glossary
stateless protocol
An Internet procedure that completely breaks the connection between the client and the server after a transaction, meaning that the next transaction will require an entirely new connection.

Web Design & Development Glossary
Telnet
A network protocol useful in interactive, text-oriented communications.

Web Design & Development Glossary
W3C
World Wide Web Consortium. The organization that sets international standards for the World Wide Web.