Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Closed Thread
 
Thread Tools Display Modes
Old Feb 8th, 2011, 9:17 AM   #11
Brayen
Newbie
 
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, 1:26 AM   #12
Aleksandra
Newbie
 
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 8th, 2011, 11:14 PM   #13
MarPlo
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:
<ul>
 <li>Text ...</li>
 <li>
  <ul>
   <li>Text ...</li>
   <li>Text ...</li>
  </ul>
 </li>
 <li>Text ...</li>
</ul>
__________________
Free: Web Programming Courses and tutorials.
Free Tutorials: AJAX Lessons | PHP-MySQL Course | JavaScript - jQuery Course.
MarPlo is offline  
Old Mar 25th, 2011, 2:01 AM   #14
dain45yl
Newbie
 
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, 6:25 PM   #15
Bear88881
Newbie
 
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, 6:38 PM   #16
Sane
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

Bookmarks

« 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 8:15 AM
start Learning HTMl smita HTML / XHTML / CSS 0 Mar 15th, 2007 7:38 AM
HTML =/= Programming Sane Coder's Corner Lounge 32 Mar 8th, 2006 2:50 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:05 AM.

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