UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
August
Su M Tu W Th F Sa
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Sponsored Links
Latest Postings
Amazon Gift Card Generator/KeyGen?te
by Gecko666
08/22/14 09:21 AM
Latest Reviews
Page 2 of 2 < 1 2
Topic Options
Rate This Topic
#49632 - 11/03/09 01:47 AM Re: Html lesson1 [Re: jonconley]
Gremelin Offline

Community Owner
*****

Registered: 02/28/02
Posts: 7192
Loc: Portland, OR; USA
I updated that snippet above; note though, it's not valid xHTML so I would not use it at all lol; breaks too many conventions to even bother listing really. Most applets will however give you their own buggy embedding code.
_________________________
Donate to UGN Security here.
UGN Security, Back of the Web, Elite Web Gamers & VNC Web Design Owner

Top
Sponsored Links
      
#49793 - 12/03/09 06:48 PM Re: Html lesson1 [Re: Gremelin]
ninjaneo Offline
UGN Security Staff

Registered: 03/06/02
Posts: 256
Loc: CA, USA
In my opinion the best way to learn HTML is a hands on approach. Start viewing the source code to web pages (Firefox: View->Page Source). Look for "tags" which will always be inside of a pair of < >'s. Try and figure out what that tag does and how it is represented on the page. I recommend turning of CSS Stylesheets at first, so you can see the page before it is "stylized". It's good web-practice to make your pages accessible as possible. Some browsers may not have "CSS" support on, and your web page could possibly look like ass. You should make your web page "usable" then go back and tweak the looks. That is to say, you can do things many ways, and they may (or may not) render to the same display.

You're simplest website should look like this:

Code:
<html>
 <head>
  <title>Page Title</title>
 </head>
 <body>
  <p>Page text</p>
 </body>
</html>


You'll get the hang of it, its a very simplistic syntax. Notice all tags will start with a < followed by the name of the tag. and then they will eventually end with / followed by a >.

Many tags have the ability to contain text or even more tags. That is what you see with the paragraph tag:
Code:
<p>Page text</p>


Notice the name of the tag is repeated in those instances. (</p>).

Some tags will not have that, such as the image tag:

Code:
<img src="somepicture.jpg"/>


Notice that they (as well as the other tags) can have attributes (such as "src" , or source for refrencing a URL/file), that are specific to the tag itself, as defined by the specification... that is why you should always set which specification of HTML you are using, and you will see people exclaiming "XHTML Compliant"

http://www.w3schools.com/Xhtml/xhtml_dtd.asp for more info on doctypes... And basically the best HTML refrence site.

Top
Page 2 of 2 < 1 2

Moderator:  §intå×, Gremelin 
Featured Member
Registered: 08/20/13
Posts: 1
Forum Stats
2148 Members
46 Forums
34027 Topics
69194 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 27189
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Gecko666, defghi795767, Devo60, ali, lavos
2147 Registered Users
Who's Online
0 registered (), 292 Guests and 313 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!