Login Register






There was a very particular style of DDOS attack just now, it was mitigated.
Thread Rating:
  • 0 Vote(s) - 0 Average


HTML Tags filter_list
Author
Message
RE: HTML Tags #11
It's nothing it happens for everyone Smile

Reply

RE: HTML Tags #12
It's nothing it happens for everyone Smile

Reply

RE: HTML Tags #13
(12-20-2012, 12:27 AM)MobbiN Wrote: 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>

a. doctype statement is incorrect. for html5 it is

Quote:<!DOCTYPE html>

b. Doctype is also not an html tag, it is an instruction to the browser and therefore does not need a closing tag... thus the following is also incorrect usage.

Quote:<doctype html>. </html>

(12-20-2012, 12:27 AM)MobbiN Wrote:
Break Line
The <br></br> tag can be used to start another Line
like
this
you can use this to split up a paragraph in hopes to make you code or your webpage look neater.

the <br> tag is meant for putting line breaks. It is not meant to seperate paragraphs. That is what the <p> tag is for.

Also, the <br> tag is a void element, it has no end tag. While </br> will work, it is not "valid" html. If you want to get into xhtml then the correct use of the break tag is <br />

(12-20-2012, 12:27 AM)MobbiN Wrote:
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.

Again, this is incorrect use of the doctype. the statement is wrong AND there is no closing tag. Quite frankly the browser starts reading the source from the doctype.


I did not know about the <abbr> tag however... so it goes to show even experienced coders can learn something knew from a basic tutorial lol.

Reply

RE: HTML Tags #14
(12-20-2012, 12:27 AM)MobbiN Wrote: 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>

a. doctype statement is incorrect. for html5 it is

Quote:<!DOCTYPE html>

b. Doctype is also not an html tag, it is an instruction to the browser and therefore does not need a closing tag... thus the following is also incorrect usage.

Quote:<doctype html>. </html>

(12-20-2012, 12:27 AM)MobbiN Wrote:
Break Line
The <br></br> tag can be used to start another Line
like
this
you can use this to split up a paragraph in hopes to make you code or your webpage look neater.

the <br> tag is meant for putting line breaks. It is not meant to seperate paragraphs. That is what the <p> tag is for.

Also, the <br> tag is a void element, it has no end tag. While </br> will work, it is not "valid" html. If you want to get into xhtml then the correct use of the break tag is <br />

(12-20-2012, 12:27 AM)MobbiN Wrote:
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.

Again, this is incorrect use of the doctype. the statement is wrong AND there is no closing tag. Quite frankly the browser starts reading the source from the doctype.


I did not know about the <abbr> tag however... so it goes to show even experienced coders can learn something knew from a basic tutorial lol.

Reply

RE: HTML Tags #15
(12-20-2012, 12:27 AM)MobbiN Wrote: 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>

a. doctype statement is incorrect. for html5 it is

Quote:<!DOCTYPE html>

b. Doctype is also not an html tag, it is an instruction to the browser and therefore does not need a closing tag... thus the following is also incorrect usage.

Quote:<doctype html>. </html>

(12-20-2012, 12:27 AM)MobbiN Wrote:
Break Line
The <br></br> tag can be used to start another Line
like
this
you can use this to split up a paragraph in hopes to make you code or your webpage look neater.

the <br> tag is meant for putting line breaks. It is not meant to seperate paragraphs. That is what the <p> tag is for.

Also, the <br> tag is a void element, it has no end tag. While </br> will work, it is not "valid" html. If you want to get into xhtml then the correct use of the break tag is <br />

(12-20-2012, 12:27 AM)MobbiN Wrote:
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.

Again, this is incorrect use of the doctype. the statement is wrong AND there is no closing tag. Quite frankly the browser starts reading the source from the doctype.


I did not know about the <abbr> tag however... so it goes to show even experienced coders can learn something knew from a basic tutorial lol.

Reply







Users browsing this thread: 1 Guest(s)






This forum uses Lukasz Tkacz MyBB addons.