Changes

Jump to navigation Jump to search
212 bytes added ,  15:06, June 23, 2016
m
Line 4: Line 4:  
First, one must create a text file with the [[file extension]] of .html and open it in any [[Text file|text]] editor, like [[Windows]] Notepad.  Now it should be declared as a HTML file by placing <br />
 
First, one must create a text file with the [[file extension]] of .html and open it in any [[Text file|text]] editor, like [[Windows]] Notepad.  Now it should be declared as a HTML file by placing <br />
 
<code><!DOCTYPE html></code> on the first line.  On the second line, place <br />
 
<code><!DOCTYPE html></code> on the first line.  On the second line, place <br />
−
<code><html></code> to open the HTML section of the file, which in this case will be the only section created.
+
<code><html></code> to open the HTML section of the file, which in this case will be the only major section created.
    
==Sections==
 
==Sections==
Line 25: Line 25:  
The body section is where the main webpage content is placed which will be displayed to the user.  First, the body section needs to be opened, so <code><body></code> must be used next.
 
The body section is where the main webpage content is placed which will be displayed to the user.  First, the body section needs to be opened, so <code><body></code> must be used next.
 
There any many tags which may be placed inside here, but the most common are probably<br />
 
There any many tags which may be placed inside here, but the most common are probably<br />
−
<code><div></code> (used to make divisions and sections)<br />
+
<code><nowiki><div></nowiki></code> (used to make divisions and sections)<br />
−
and text containers, such as <nowiki><p></nowiki>, and header tags (<nowiki><h1>, <h2>, <h3>, <h4>, <h5>, and <h6> </nowiki>)
+
and text containers, such as <nowiki><p></nowiki>, and header tags (<code><nowiki><h1></nowiki></code>, <code><nowiki><h2></nowiki></code>, <code><nowiki><h3></nowiki></code>, <code><nowiki><h4></nowiki></code>, <code><nowiki><h5></nowiki></code>, and <code><nowiki><h6></nowiki></code>)
−
<code><a href="http://link.com">Link Name<a></code> uses the anchor tag to create a text link to another page or website.
+
<code><nowiki><a href="http://link.com">Link Name<a></nowiki></code> uses the anchor tag to create a text link to another page or website.<br />
 
For a beginner, simply using a header tag then the paragraph tag to place text on the page in common.  At the end of the body section, close it with<br />
 
For a beginner, simply using a header tag then the paragraph tag to place text on the page in common.  At the end of the body section, close it with<br />
 
<code></body></code>
 
<code></body></code>
Line 37: Line 37:  
<code></html></code>  Now it may be opened with any [[web browser]].  For a beginner, trial and error may prove beneficial.  Also, researching more HTML tags and code can prove very helpful.  Once a framework is ready, improvement and testing is much simpler.
 
<code></html></code>  Now it may be opened with any [[web browser]].  For a beginner, trial and error may prove beneficial.  Also, researching more HTML tags and code can prove very helpful.  Once a framework is ready, improvement and testing is much simpler.
   −
==External Links==
+
==External links==
−
[http://www.w3schools.com W3Schools.com]
+
* [http://www.w3schools.com W3Schools.com]
−
[http://www.htmlcodetutorial.com/ HTML Code Tutorial.com]
+
* [http://www.htmlcodetutorial.com/ HTML Code Tutorial.com]
   −
[[category:HTML]]
+
[[Category:HTML]]
Block, SkipCaptcha, apieditor, Automoderated users, Bots, edit, ratelimit-exempt
58,183

edits

Navigation menu