Hi everybody! A dedicated and honest man searching for help.

  • OZSA
  • Born
  • Born
  • User avatar
  • Posts: 4
  • Loc: Romania

Post 3+ Months Ago

Hi once more. I was posting on this forum like a year or two ago.. maybe even more, it was my first site (its in the sig) but I just forgot about it totally..
Years after, now I need help again, but this time I will spend at least daily 5-6hours on learning html and css, because the rest of the day I work as an autocad designer. Life is hard, money is living, and I have a chance to make use of my actual html,css knowledge, but I'm thinking seriously to master them. First of all, I have a site (2nd on my sig) that I have to remake, because at first sight the html code seemed a bit bad...at 2nd sight, it was horrible, (it was made with an adobe slicer) and somehow I want to make the source pure and clean. I'm searching for someone who knows what "pure and clean" html+css coding means, and who wants to help me. Im confused about the html or xhtml too, don't know which language to start using, I want to do clean sites, (officially clean by the w3 validator, 0 errors) and I need some tips, links in the beginning. I searched at w3 about the html transitional and xhtml difference but to be honest I can't understand why is xhtml better, and I really don't wanna learn languages in vain, as I saw there are many versions of css aswell.. I'm not here to scam or advertise, if my signature causes any problem I remove it asap. I need help and I'm offering help, till my limits ends. Once more, what html type, what reference to you, how to find the clean codes, is it ok to create using dreamweaver, can i revamp a sliced page to make it clean code? also, the 2nd link at sig has one plus line in firefox, and it is good in explorer...any reason why ?

Thanks in advance.
Respect
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

The only thing I really like about XHTML is the self closing tag thing, so instead of example A:
Code: [ Select ]
<img src='something.jpg' alt='test'></img>

I'll use example B:
Code: [ Select ]
<img src='something.jpg' alt='test' />

I really think that's what I enjoy most of all with XHTML, but because I use XHTML 1.0 Strict as my doctype I can't use target='_blank' because it isn't allowed ... it will work however.

for CSS I suggest using CSS 2.1, as 3 is out but most browsers that are being used today don't support alll CSS3 features yet ...
  • OZSA
  • Born
  • Born
  • User avatar
  • Posts: 4
  • Loc: Romania

Post 3+ Months Ago

CSS is what i must master, its really what I imagined to work with, but still the difference between xhtml and html is not clear for me, why and when should i use xhtml. Mostly I want simple, clean css designed pages, clean code is what I need.
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6807
  • Loc: Martinsburg, WV

Post 3+ Months Ago

Either one will work, HTML and XHTML that is. You can have nice clean code with either using CSS. Clean code is entirely up to you and how you write it.
  • bastones
  • Novice
  • Novice
  • bastones
  • Posts: 19

Post 3+ Months Ago

Yes, it is a personal choice whether you want to have clean code but that is not the only reason why there are standards with the W3C (XHTML). I guess it is to keep code in seperation from one another, therefore it'd be more cross-browser but the only major reason is for cleanliness in your code. These standards really don't help you write better code or make it more cross-browser.

XHTML is where everything is enclosed, even <img> tags and <p> tags, etc. You can, for example, do the following:

Code: [ Select ]
<img src="hello.png"></img>


or the following:

Code: [ Select ]
<img src="hello.png" />


Whereas /> is the closing tag. It is upto you, it is a personal preference and it is simply a way to clean out code from clutter really. You can use plain HTML if you want, it won't make much of a difference.
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

bastones wrote:
These standards really don't help ... make it more cross-browser.

I disagree ... ofcourse it could help with cross browser issues ... I have seen many a times that when a site doesn't work in a certain browser, I run a W3C check and fix the stuff and afterwards it does work in the specific browser too ...

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 43 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.