![]() |
|
HTML Tags - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Coding (https://sinister.ly/Forum-Coding--71) +--- Thread: HTML Tags (/Thread-HTML-Tags) Pages:
1
2
|
HTML Tags - Mobbin_mybb_import7377 - 12-20-2012 So im currently learning HTML and i thought id'e share with you what i have so far learnt so im going to be teaching you what tags to and what they are used for. Lets start with Doctype
"<doctype html>" basically starts your script off it basically tells your browser that its a HTML document and the language of the script is HTML it is crucial that when ever you start your script that you use you can use this by doing<doctype html>. </html> Headers
Headers are like Titles they normally come out looking like there in a bold text they also come in different sizes it come fron h1-h6 h1 being the biggest and h6 the smallest you can use this code by putting <h1></h1>(just change the 1 to what ever number you want between 2-6 the bigger the number smaller the text) Paragraphs
You can use these for sentences using the following tag <p></p>Unlike headers paragraphs come in one size only and even if you use the enter bar to create a line break like this once you have saved it it will still show up as if you never pressed the enter bar. Break Line
The <br></br> tag can be used to start another Linelike this you can use this to split up a paragraph in hopes to make you code or your webpage look neater. body
The body tag <body></body> will tell your web browser where to read the code so using the <doctype html> </html> tag starts your source followed by <body></body> to set were the browser will start to read the source.Different style of texts
<b></b>= the bold tag<i></>= the italic tag <strong></strong>the strong tag can look like the bold tag but it is used to show the user very important information <code></code> This is what basically tells the computer the code the public cannot see this unless they look at the source code <samp></samp> This is basically sample text and can be used to give a user an example <abbv></abbv> This will abbreviatethe capitalization of letters so when you over over GOW with your mouse it will tell you it means Gears Of War <em></em> This tag Emphasizes the text <var></var> This is a variable <a></a> This is an attribute you can use it to direct you to websites or to make an index using this tag can be powerfull <kbr></kbr> This is a keyboard imput. The use of /
The reason you must use a / is because it defines the beginning and the end of a tag you should ALWAYS use a / pn the end tag as that will tell the code that it is the end of that specific tagi will now give you an example of a basic HTML code if you want you can open notepad and copy and past this then save it as a .html if you want to see it for your self <doctype html> <html> <body> <h1>Welcome this is a Header</h1> <p>You can use headers to act as a Title <br> <b><samp>It can tell the user alot of information of what they are about to view</samp></b></p> <h3>I hope that you have learnt something from what i have posted</h3> <p>the reason for this is that it took me a while to make and i made this in the best interest of anybody looking to learn HTML like myself currently am doing<br> If this did help you please leave a thank you on this thread</p> <br> <br> <p>Also clicking this following link will take you right back to our home page at <a href="http://codezone.us">codezone</a><br> were you can find alot of usefull information thank you for looking at this tutorial and trying out the source code via notepad </p></body> </html> HTML Tags - Mobbin_mybb_import7377 - 12-20-2012 So im currently learning HTML and i thought id'e share with you what i have so far learnt so im going to be teaching you what tags to and what they are used for. Lets start with Doctype
"<doctype html>" basically starts your script off it basically tells your browser that its a HTML document and the language of the script is HTML it is crucial that when ever you start your script that you use you can use this by doing<doctype html>. </html> Headers
Headers are like Titles they normally come out looking like there in a bold text they also come in different sizes it come fron h1-h6 h1 being the biggest and h6 the smallest you can use this code by putting <h1></h1>(just change the 1 to what ever number you want between 2-6 the bigger the number smaller the text) Paragraphs
You can use these for sentences using the following tag <p></p>Unlike headers paragraphs come in one size only and even if you use the enter bar to create a line break like this once you have saved it it will still show up as if you never pressed the enter bar. Break Line
The <br></br> tag can be used to start another Linelike this you can use this to split up a paragraph in hopes to make you code or your webpage look neater. body
The body tag <body></body> will tell your web browser where to read the code so using the <doctype html> </html> tag starts your source followed by <body></body> to set were the browser will start to read the source.Different style of texts
<b></b>= the bold tag<i></>= the italic tag <strong></strong>the strong tag can look like the bold tag but it is used to show the user very important information <code></code> This is what basically tells the computer the code the public cannot see this unless they look at the source code <samp></samp> This is basically sample text and can be used to give a user an example <abbv></abbv> This will abbreviatethe capitalization of letters so when you over over GOW with your mouse it will tell you it means Gears Of War <em></em> This tag Emphasizes the text <var></var> This is a variable <a></a> This is an attribute you can use it to direct you to websites or to make an index using this tag can be powerfull <kbr></kbr> This is a keyboard imput. The use of /
The reason you must use a / is because it defines the beginning and the end of a tag you should ALWAYS use a / pn the end tag as that will tell the code that it is the end of that specific tagi will now give you an example of a basic HTML code if you want you can open notepad and copy and past this then save it as a .html if you want to see it for your self <doctype html> <html> <body> <h1>Welcome this is a Header</h1> <p>You can use headers to act as a Title <br> <b><samp>It can tell the user alot of information of what they are about to view</samp></b></p> <h3>I hope that you have learnt something from what i have posted</h3> <p>the reason for this is that it took me a while to make and i made this in the best interest of anybody looking to learn HTML like myself currently am doing<br> If this did help you please leave a thank you on this thread</p> <br> <br> <p>Also clicking this following link will take you right back to our home page at <a href="http://codezone.us">codezone</a><br> were you can find alot of usefull information thank you for looking at this tutorial and trying out the source code via notepad </p></body> </html> HTML Tags - Mobbin_mybb_import7377 - 12-20-2012 So im currently learning HTML and i thought id'e share with you what i have so far learnt so im going to be teaching you what tags to and what they are used for. Lets start with Doctype
"<doctype html>" basically starts your script off it basically tells your browser that its a HTML document and the language of the script is HTML it is crucial that when ever you start your script that you use you can use this by doing<doctype html>. </html> Headers
Headers are like Titles they normally come out looking like there in a bold text they also come in different sizes it come fron h1-h6 h1 being the biggest and h6 the smallest you can use this code by putting <h1></h1>(just change the 1 to what ever number you want between 2-6 the bigger the number smaller the text) Paragraphs
You can use these for sentences using the following tag <p></p>Unlike headers paragraphs come in one size only and even if you use the enter bar to create a line break like this once you have saved it it will still show up as if you never pressed the enter bar. Break Line
The <br></br> tag can be used to start another Linelike this you can use this to split up a paragraph in hopes to make you code or your webpage look neater. body
The body tag <body></body> will tell your web browser where to read the code so using the <doctype html> </html> tag starts your source followed by <body></body> to set were the browser will start to read the source.Different style of texts
<b></b>= the bold tag<i></>= the italic tag <strong></strong>the strong tag can look like the bold tag but it is used to show the user very important information <code></code> This is what basically tells the computer the code the public cannot see this unless they look at the source code <samp></samp> This is basically sample text and can be used to give a user an example <abbv></abbv> This will abbreviatethe capitalization of letters so when you over over GOW with your mouse it will tell you it means Gears Of War <em></em> This tag Emphasizes the text <var></var> This is a variable <a></a> This is an attribute you can use it to direct you to websites or to make an index using this tag can be powerfull <kbr></kbr> This is a keyboard imput. The use of /
The reason you must use a / is because it defines the beginning and the end of a tag you should ALWAYS use a / pn the end tag as that will tell the code that it is the end of that specific tagi will now give you an example of a basic HTML code if you want you can open notepad and copy and past this then save it as a .html if you want to see it for your self <doctype html> <html> <body> <h1>Welcome this is a Header</h1> <p>You can use headers to act as a Title <br> <b><samp>It can tell the user alot of information of what they are about to view</samp></b></p> <h3>I hope that you have learnt something from what i have posted</h3> <p>the reason for this is that it took me a while to make and i made this in the best interest of anybody looking to learn HTML like myself currently am doing<br> If this did help you please leave a thank you on this thread</p> <br> <br> <p>Also clicking this following link will take you right back to our home page at <a href="http://codezone.us">codezone</a><br> were you can find alot of usefull information thank you for looking at this tutorial and trying out the source code via notepad </p></body> </html> RE: HTML Tags - Anima Templi - 12-20-2012 Why aren't you mentioning the <head> tag It has a pretty important role in HTML and is something you can't live without. Also it's there you declares the <title> of the website. Above example with <head> tag. Code: <doctype html>
<html>
<head>
<title>Title goes here!</title>
</head
<body>
<h1>Welcome this is a Header</h1>
<p>You can use headers to act as a Title
<br>
<b><samp>It can tell the user alot of information of what they are about to view</samp></b></p>
<h3>I hope that you have learnt something from what i have posted</h3>
<p>the reason for this is that it took me a while to make and i made this in the best interest of anybody looking to learn HTML like myself currently am doing<br>
If this did help you please leave a thank you on this thread</p>
<br>
<br>
<p>Also clicking this following link will take you right back to our home page at <a href="http://codezone.us">codezone</a><br>
were you can find alot of usefull information thank you for looking at this tutorial and trying out the source code via notepad </p>
</body>
</html>RE: HTML Tags - Anima Templi - 12-20-2012 Why aren't you mentioning the <head> tag It has a pretty important role in HTML and is something you can't live without. Also it's there you declares the <title> of the website. Above example with <head> tag. Code: <doctype html>
<html>
<head>
<title>Title goes here!</title>
</head
<body>
<h1>Welcome this is a Header</h1>
<p>You can use headers to act as a Title
<br>
<b><samp>It can tell the user alot of information of what they are about to view</samp></b></p>
<h3>I hope that you have learnt something from what i have posted</h3>
<p>the reason for this is that it took me a while to make and i made this in the best interest of anybody looking to learn HTML like myself currently am doing<br>
If this did help you please leave a thank you on this thread</p>
<br>
<br>
<p>Also clicking this following link will take you right back to our home page at <a href="http://codezone.us">codezone</a><br>
were you can find alot of usefull information thank you for looking at this tutorial and trying out the source code via notepad </p>
</body>
</html>RE: HTML Tags - Anima Templi - 12-20-2012 Why aren't you mentioning the <head> tag It has a pretty important role in HTML and is something you can't live without. Also it's there you declares the <title> of the website. Above example with <head> tag. Code: <doctype html>
<html>
<head>
<title>Title goes here!</title>
</head
<body>
<h1>Welcome this is a Header</h1>
<p>You can use headers to act as a Title
<br>
<b><samp>It can tell the user alot of information of what they are about to view</samp></b></p>
<h3>I hope that you have learnt something from what i have posted</h3>
<p>the reason for this is that it took me a while to make and i made this in the best interest of anybody looking to learn HTML like myself currently am doing<br>
If this did help you please leave a thank you on this thread</p>
<br>
<br>
<p>Also clicking this following link will take you right back to our home page at <a href="http://codezone.us">codezone</a><br>
were you can find alot of usefull information thank you for looking at this tutorial and trying out the source code via notepad </p>
</body>
</html>RE: HTML Tags - Mobbin_mybb_import7377 - 12-20-2012 i forgot about the <head> tag
RE: HTML Tags - Mobbin_mybb_import7377 - 12-20-2012 i forgot about the <head> tag
RE: HTML Tags - Mobbin_mybb_import7377 - 12-20-2012 i forgot about the <head> tag
RE: HTML Tags - Anima Templi - 12-20-2012 It's nothing it happens for everyone
|