Jump to content


Photo

HTML HELP PLEASE


  • Please log in to reply
11 replies to this topic

#1 siddu

siddu

    New member

  • New Members
  • 6 posts
  • LocationHyderabad

Posted 11 October 2010 - 02:32 AM

Hi,
I am new to html so anybody can help me how to improve my html knowledge i mean from which point i have to start what are the basic thing's and what is the difference between HTML-XHTML?

Any advice would be appreciated.
Thank's
  • 0

#2 Andrea

Andrea

    Advanced Member

  • Moderators
  • 5,681 posts
  • Facebook:https://www.facebook.com/aandbwebdesignAB
  • LocationSan Antonio, TX

Posted 11 October 2010 - 05:19 AM

Work your way through some beginner's tutorials - for example: http://www.how-to-bu...m/lessonOne.php

And re the HTML / XHTML issue: http://www.killersit...ted-30-july-06/
  • 0

#3 weblink

weblink

    Member

  • New Members
  • PipPip
  • 15 posts
  • Facebook:http://www.facebook.com/WeblinkIndia

Posted 16 October 2010 - 04:30 AM

The W3C announced that HTML 4 has been reformulated into XHTML 1.0. XHTML is HTML 4 written as an XML application.Comparing HTML(Hypertext Markup Language) and XHTML(Extensible HTML) could be like comparing identical twins since there are only a few minor points which we can actually point out as being different. This is due to the fact that XHTML was derived from HTML just to conform with XML standards.The primary major difference between the two is the relative strictness of XHTML compared to HTML. While someone coding in HTML could get away with some lapses in structure and coding, that is no longer possible with XHTML.
  • 0

#4 Guest_penelopeklimas

Guest_penelopeklimas
  • Guests

Posted 15 February 2011 - 06:27 AM

Hi, I have recently been trying to get a web page together and I am not having much sucess with trying to get a image to it, could anyone give me some info and in simple terms as I am only a new starter at this. I have got the basics of inserting font and backgrounds and A Href, and thats about it.



Edited by Andrea, 15 February 2011 - 06:40 AM.
Link Removed

  • 0

#5 Andrea

Andrea

    Advanced Member

  • Moderators
  • 5,681 posts
  • Facebook:https://www.facebook.com/aandbwebdesignAB
  • LocationSan Antonio, TX

Posted 15 February 2011 - 06:42 AM

You insert an image with this code:
<img src="image.jpg" alt="Description of Image" width="500px" height="300px">
This assumes that the image is in the same folder as the page. Make sure the image is optimized to be the size you need, and not too large of a file (loadtimes).
  • 0

#6 madhusmita

madhusmita

    Member

  • Member
  • PipPip
  • 23 posts

Posted 30 May 2011 - 04:37 AM

If you want to learn HTML, you can follow the w3schools.com site.It got a very good tutorial for the HTML.Practice sets are also there which you can use to test your knowledge after finishing the chapters.

The most important difference between HTML and XHTML are as follows:

1. It allows an author to omit certain tags and use attribute minimization.
2 The Extensible Hyper Text Markup Language, or XHTML, is an application of XML (Extensible Markup Language). It doesn't allow the omission of the tags.This means that in XHTML we need to use </br> tag with <br> tag.But in HTML, we can use only one </br> tag in place of <br> and </br>
  • 0

#7 Andrea

Andrea

    Advanced Member

  • Moderators
  • 5,681 posts
  • Facebook:https://www.facebook.com/aandbwebdesignAB
  • LocationSan Antonio, TX

Posted 30 May 2011 - 07:16 AM

This means that in XHTML we need to use </br> tag with <br> tag.But in HTML, we can use only one </br> tag in place of <br> and </br>

Madhusmita, we have corrected you on this before - in XHTML, a line break is done like this:
<br />
The <br> is not needed - you only use the properly closed br tag.

In HTML, all you use is the <br> tag.

Please let me know if you have any questions.
  • 0

#8 Harry Hamlin

Harry Hamlin

    New member

  • New Members
  • 2 posts

Posted 06 June 2011 - 07:13 AM

I am a Beginner in HTML and W3C School is really helping me out. Trust me it is the best resource I got.
  • 0

#9 Henry Layla

Henry Layla

    Member

  • Member
  • PipPipPip
  • 53 posts

Posted 14 June 2011 - 12:28 AM

w3schools is good. I am also using it to learn HTML and CSS.

Madhusmita, we have corrected you on this before - in XHTML, a line break is done like this:


Can't we use the same line break in HTML4.01 too?

I am talking about br / line break.
  • 0

#10 Andrea

Andrea

    Advanced Member

  • Moderators
  • 5,681 posts
  • Facebook:https://www.facebook.com/aandbwebdesignAB
  • LocationSan Antonio, TX

Posted 14 June 2011 - 04:53 AM

A line break - the br tag - in HTML looks like this:
<br>

and in XHTML like that:
<br />

  • 0

#11 LSW

LSW

    Knight of the Square Cubicle

  • Moderators
  • 8,017 posts
  • LocationJuneau AK

Posted 15 June 2011 - 09:25 AM

Just a side comment: In the early days it was a good idea to write it with a space <br /> (or any other self closing tag), it was due to the browsers at the time.

However there is no requirement or even any reason any longer to leave the space, I never have and even back then it worked fine. <br/>
  • 0

Thank You, Migwetth, Gunalche’esh, Ha’w'aa, Danke
 

"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works.
 Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it.
 Anything invented after you're thirty-five is against the natural order of things."
 
                                                                                                                                                    - Douglas Adams from - The Salmon of Doubt (2002)

 


#12 Anderson

Anderson

    New member

  • New Members
  • 3 posts

Posted 21 February 2012 - 05:40 AM

HTML:
Is not case sensitive
Allows the user to omit certain tags
when ever xml parser encounter an error relating to the document well formedness, HTML parser is expected to attempt recover & continue.


XHTML
Is case sensitive
it doesn't permit the omission of any tags
when ever xml parser encounter an error relating to the document well formedness, XHTML parser must abort it.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users