0

I cant understand tags help me guys

not under st and

16th Dec 2016, 5:10 AM
santosh chaudhary
5 Answers
+ 2
What do you not understand about them?
16th Dec 2016, 5:58 AM
Chris Coder
Chris Coder - avatar
+ 1
just see tags as necessary items u need to create a desired display ...
16th Dec 2016, 10:07 PM
Paschal Nduleo
Paschal Nduleo - avatar
0
suggestions plz
16th Dec 2016, 5:10 AM
santosh chaudhary
0
Tags simply identify the section.. <TITLE>My WebPage!</TITLE>, for example, would make the browser top/tab show "My WebPage!". Unlike its similar counterpart XML, in which you can name the tags anything you'd like, HTML tags have defined roles. All tags should have a beginning and an end (also known as their scope). The beginning contains the tag name with any parameters and the ending is simple the same tag name preceeded by a '/'. You may also end a tag immediately by placing this ending slash at the end; often used for line breaks <BR />, horizontal rules <HR size="5" /> (I included a "size" parameter there to demonstrate that the terminating '/' goes at the end when doing this whether you have parameters or not).
16th Dec 2016, 7:47 AM
Matthew Shephard
Matthew Shephard - avatar
0
Each tag serves a purpose of some kind. <HTML> defines the webpage html section <HEAD> defines the header section <TITLE>My Title</TITLE> <H1> defines that text within will use the 'Header#1' formatting (large font) My WebPage! (This would appear on the page in large font) <BR /> puts a line break after the H1 text <HR /> puts a standard horizontal line under the H1 text </H1> ends the H1 font rule </HEAD> ends the header section </HTML> ends the webpage html Usually, you would also have a BODY section with the meat of your page and the HEADER is where you would indicate stylesheets, JavaScript sources, etc that will enhance the functionality of your page,but the above example shows beginning/ending tags and how you should respect the scope of the and always ending one within its parent scope (ie. Having <HEAD><TITLE>TEST</HEAD></TITLE> would not be correct because TITLE is inside the HEAD section, and we're killing the HEAD section before we've said we're done with the TITLE). Got a little off-track in my definition here, but essentially a tag is WHAT you are creating and /tag is how you end it. The tag name itself defines what type of item will appear on the page. For example: "A" tag <A HREF="www.lol.com"> creates a link to that site "IMG" tag <IMG SRC="www.lol.com/lol.jpg" /> inserts that pic "INPUT" tag <input type="button"> inserts a useless button [more parameters needed to specify on-click actions], etc.
16th Dec 2016, 7:48 AM
Matthew Shephard
Matthew Shephard - avatar