Programming Forums
User Name Password Register

RSS Feed

Closed Thread
Thread Tools Display Modes
Old Feb 8th, 2011, 10:17 AM   #11
Join Date: Jan 2011
Posts: 5
Rep Power: 0 Brayen is on a distinguished road
Re: 10 HTML Tips for Beginners

This is an important HTML tip.

The values of attributes can contain text, hexadecimal color codes or numbers. In case of JavaScript event handlers, the values consist of small JavaScript code. A sincere advice for good and clean HTML coding is to ALWAYS put quotes around attribute values. It is a good habit, will save you many headaches and avoid errors especially when attribute values contain spaces.

Thus, using bgcolor="#ffffff" instead of bgcolor=#ffffff results is greater browser compatibility and differentiates it nicely from other attribute-value pairs. Quoting attribute values is also required in XHTML. Your pages will fail the W3C validation if you leave the values haning around with the quotes.
Brayen is offline  
Old Mar 8th, 2011, 2:26 AM   #12
Join Date: Mar 2011
Posts: 4
Rep Power: 0 Aleksandra is on a distinguished road
Re: 10 HTML Tips for Beginners

Thanks for all those important tips. Here are some more very important HTML tips for beginners:

-H1 is the first and largest header of your HTML document. If you use header (H1, H2, H3) tags you must use it in sequence.
-You must understand the meaning of block and inline HTML elements.
-Always provide alternate text for the image.
online reklamebureau-gasfyr priser
Aleksandra is offline  
Old Mar 9th, 2011, 12:14 AM   #13
Hobbyist Programmer
MarPlo's Avatar
Join Date: Jan 2011
Posts: 111
Rep Power: 7 MarPlo is on a distinguished road
Re: 10 HTML Tips for Beginners

When you use nested <ul>, <ol> tags, if you want a valide (X)HTML code, include the seccond <ul>, <ol> in <li>, like this:
 <li>Text ...</li>
   <li>Text ...</li>
   <li>Text ...</li>
 <li>Text ...</li>
Free: Web Programming Courses and tutorials.
Free Tutorials: AJAX Lessons | PHP-MySQL Course | JavaScript - jQuery Course.
MarPlo is offline  
Old Mar 25th, 2011, 3:01 AM   #14
Join Date: Feb 2011
Posts: 6
Rep Power: 0 dain45yl is on a distinguished road
Re: 10 HTML Tips for Beginners

These tips are very helpful for everyone specially for me.
Because i am new user of HTML. I really impress with your work and i hope you continue it in future.
student exchange programs
dain45yl is offline  
Old Apr 4th, 2011, 7:25 PM   #15
Join Date: Apr 2011
Posts: 1
Rep Power: 0 Bear88881 is on a distinguished road
Re: 10 HTML Tips for Beginners

Brayen, thanks for the tip about the quotes. I had no idea.
Black Mold Mildew Removal
Bear88881 is offline  
Old Apr 4th, 2011, 7:38 PM   #16
Programming Guru
Sane's Avatar
Join Date: Apr 2005
Location: Google / Kitchener
Posts: 4,154
Rep Power: 18 Sane has a spectacular aura aboutSane has a spectacular aura about
Send a message via MSN to Sane
Re: 10 HTML Tips for Beginners

Closed for attracting too much spam.
PFO's Folding@Home Team | Sane's Monthly Algorithms Challenges
Rules | How to Post a Question | How to Post Code

Becoming a good programmer requires foresight of your code's execution.
Becoming an excellent programmer requires foresight of your code's modification.
Sane is offline  
Closed Thread


« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is html 3.2? kasyapa_lk HTML / XHTML / CSS 6 Aug 19th, 2011 9:15 AM
start Learning HTMl smita HTML / XHTML / CSS 0 Mar 15th, 2007 8:38 AM
HTML =/= Programming Sane Coder's Corner Lounge 32 Mar 8th, 2006 3:50 AM

DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:04 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC