View Single Post
Old Mar 5th, 2013, 8:24:59 PM   #3
Jukain
rip numeros
is a Contributor to Smogon Mediais a Contributor to Smogon
 
Jukain's Avatar
 
Join Date: Feb 2011
Posts: 1,689
somewhere could be anywhere
Default

it's probably worth noting the basic article html head structure as it's different from the normal:

HTML Code:
[title]
Article Title
[head]
<meta name="description" content="short description of article" />
[page]
<div class="author">By <a href="link to author's profile">Author</a>
and also for articles making a table of contents:

HTML Code:
<ol class="toc">
<li><a href="#short_section_name">Full Section Name</a></li>
<li><a href="#short_section_name">Full Section Name</a></li>
</ol>
which would be utilized by adding <a name="#shortname"></a> around the section name in your <h2></h2> tags

short example (from the pokemon dictionary):

HTML Code:
<ol class="toc">
<li><a href="#gens">Generations</a></li>
</ol>

<h2><a name="gens">Generations</a></h2>
EDIT: adding to what V0x said, in Notepad++ you can type Ctrl+Alt+Shift+r and it will automatically run in chrome, assuming you save your doc as .html. Ctrl+Alt+Shift+x runs it in firefox, Ctrl+Alt+Shift+I runs it in explorer, and Ctrl+Alt+Shift+f runs it in safari. you can click on those in the run menu and run in whatever other browser you might have in run -> run... -> type in your browser's name / browse files for it. it's a simple, convenient way to do it and I'm sure dreamweaver has something similar.
__________________
C&C Work | 1k RMT | Contribute! | VM for an OU Rate! | gp member: vm/pm for a check | previously pokemon0078 / aka jew-cane

Last edited by Jukain; Mar 5th, 2013 at 9:06:40 PM.
Jukain is online now   Reply With Quote