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
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
Sponsored Links
Latest Postings
The History Thread...
by Cyrez
08/11/15 12:11 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: 7193
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

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:

  <title>Page Title</title>
  <p>Page text</p>

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:
<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:

<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" for more info on doctypes... And basically the best HTML refrence site.

Page 2 of 2 < 1 2

Moderator:  §intå×, Gremelin 
Featured Member
Registered: 02/28/02
Posts: 7193
Forum Stats
2156 Members
46 Forums
40820 Topics
75993 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 33982
Gremelin 7193
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Lillysdragon1984, Brewwit, Suri John, boa, claralobo
2155 Registered Users
Who's Online
0 registered (), 230 Guests and 246 Spiders online.
Key: Admin, Global Mod, Mod
Latest News

  Get Firefox!
Get FireFox!