HTML vs XHTML : Excuse me! Webie question?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mandysaini
    Junior Member
    • Dec 2009
    • 1

    HTML vs XHTML : Excuse me! Webie question?

    Hi Friends,

    What is the XHTML Code for the following decaprecated HTML codes.

    <center> Deprecated. Defines centered text
    <font> Deprecated. Defines text font, size, and color
    <u> Deprecated. Defines underlined text

    I want the XHTML code to use font, underline, and center alignment.

    Thank you if you help.
  • Finkoo
    Junior Member
    • Nov 2008
    • 6

    #2
    First of all XHTML isn't all it's cracked up to be, and HTML 4.01 strict has very much the same restrictions as XHTML, only slightly different (in HTML there are none of those annoying self closing tags and, though not a good idea, upper and lower case letters may be mixed more freely in your code, there are a few other differences). Most XHTML on the web today is being served as HTML, and then (as such) needs to be error corrected by the browser.

    Comment

    • stevex
      Member
      • Apr 2014
      • 74

      #3
      Coding for HTML and XHTML are same.Because xhtml is a version of previous html language.

      Comment

      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎