Book Image

Practical Web Development

By : Paul Wellens
Book Image

Practical Web Development

By: Paul Wellens

Overview of this book

Table of Contents (23 chapters)
Practical Web Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
10
XML and JSON
Index

Classic document elements


This section lists a few HTML elements that will look familiar to users of word processors or desktop publishing programs.

<h1>, <h2>, <h3>, … <h6> – headings

These are headings. The smaller the number, the larger the font size the browser will render the heading in.

<p> – paragraph

This is the paragraph tag. Browsers automatically add some space (margin) before and after each <p> element. The margins can be modified with CSS (with the margin properties).

<span> – span

The span tag by itself has no visual effect but it is extremely useful when you need to style just a portion of text.

You can use it like this:

<h3>Example</h3>
<p>This is a paragraph with one <span class="blue">blue</span>word</span>