Hack Industries
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Latest topics
» Soiler code with css and javascript
HTML Headings, Attributes & Paragraphs EmptyWed Jan 27, 2010 2:45 pm by Stoned Hacker

» Forum Rules
HTML Headings, Attributes & Paragraphs EmptyTue Jan 26, 2010 2:07 pm by Stoned Hacker

» HTML Headings, Attributes & Paragraphs
HTML Headings, Attributes & Paragraphs EmptyThu Dec 10, 2009 3:45 pm by Stoned Hacker

» A Simple Virus
HTML Headings, Attributes & Paragraphs EmptyThu Dec 10, 2009 1:57 pm by Stoned Hacker

» Comment Box
HTML Headings, Attributes & Paragraphs EmptyThu Dec 10, 2009 1:53 pm by Stoned Hacker

» Create a PHP Database
HTML Headings, Attributes & Paragraphs EmptyThu Dec 10, 2009 1:51 pm by Stoned Hacker

» How to insert Javascript
HTML Headings, Attributes & Paragraphs EmptyThu Dec 10, 2009 1:12 pm by Stoned Hacker

» Intro to Javascript
HTML Headings, Attributes & Paragraphs EmptyThu Dec 10, 2009 12:23 pm by Stoned Hacker

» HTML Basic
HTML Headings, Attributes & Paragraphs EmptyThu Dec 10, 2009 12:03 pm by Stoned Hacker

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
free forum
 

HTML Headings, Attributes & Paragraphs

Go down

HTML Headings, Attributes & Paragraphs Empty HTML Headings, Attributes & Paragraphs

Post  Stoned Hacker Thu Dec 10, 2009 3:45 pm

Headings Are Important
Use HTML headings for headings only. Don't use headings to make text BIG or bold.
Search engines use your headings to index the structure and content of your web pages.
Since users may skim your pages by its headings, it is important to use headings to show the document structure.
H1 headings should be used as main headings, followed by H2 headings, then less important H3 headings, and so on.

HTML Rules (lines)
The <hr /> tag is used to create an horizontal rule (line).
EXAMPLE:
Code:
<p>This is a paragraph</p>
<hr />
<p>This is a paragraph</p>
<hr />
<p>This is a paragraph</p>

HTML Comments
Comments can be inserted in the HTML code to make it more readable and understandable. Comments are ignored by the browser and are not displayed.

Comments are written like this:
Code:
<!-- This is a comment -->

HTML Line Breaks
Use the <br /> tag if you want a line break (a new line) without starting a new paragraph:
Stoned Hacker
Stoned Hacker
Administrator
Administrator

Posts : 22
Join date : 2009-11-21
Age : 34
Location : The Internet

http://hackindustries.tk

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum