<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.startupcto.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.startupcto.com/feed.php">
        <title>StartupCTO front-end-tech:xhtml</title>
        <description></description>
        <link>https://www.startupcto.com/</link>
        <image rdf:resource="https://www.startupcto.com/lib/tpl/scto/images/favicon.ico" />
       <dc:date>2026-04-16T10:17:47+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.startupcto.com/front-end-tech/xhtml/best-practices?rev=1758751796"/>
                <rdf:li rdf:resource="https://www.startupcto.com/front-end-tech/xhtml/home?rev=1741968757"/>
                <rdf:li rdf:resource="https://www.startupcto.com/front-end-tech/xhtml/html-vs.-xhtml?rev=1759541848"/>
                <rdf:li rdf:resource="https://www.startupcto.com/front-end-tech/xhtml/id-vs.-name-in-form-fields?rev=1687841593"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.startupcto.com/lib/tpl/scto/images/favicon.ico">
        <title>StartupCTO</title>
        <link>https://www.startupcto.com/</link>
        <url>https://www.startupcto.com/lib/tpl/scto/images/favicon.ico</url>
    </image>
    <item rdf:about="https://www.startupcto.com/front-end-tech/xhtml/best-practices?rev=1758751796">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-24T22:09:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>HTML / XHTML Best Practices</title>
        <link>https://www.startupcto.com/front-end-tech/xhtml/best-practices?rev=1758751796</link>
        <description>HTML / XHTML Best Practices

HTML vs. XHTML

There are pros and cons to both HTML and XHTML.

ID vs. Name in Form Fields

When creating form fields, you need to give them both a name attribute and an id attribute (which should be the same. Then only use the id for referencing them, using</description>
    </item>
    <item rdf:about="https://www.startupcto.com/front-end-tech/xhtml/home?rev=1741968757">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-14T16:12:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>HTML &amp; XHTML</title>
        <link>https://www.startupcto.com/front-end-tech/xhtml/home?rev=1741968757</link>
        <description>HTML &amp; XHTML
xhtml index</description>
    </item>
    <item rdf:about="https://www.startupcto.com/front-end-tech/xhtml/html-vs.-xhtml?rev=1759541848">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-04T01:37:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>HTML vs. XHTML - Which One to Choose</title>
        <link>https://www.startupcto.com/front-end-tech/xhtml/html-vs.-xhtml?rev=1759541848</link>
        <description>HTML vs. XHTML - Which One to Choose

There is much debate over whether HTML or XHTML is the 'better' way to write code. First some background reading:

	*  Surfin' Safari Blog - Understanding HTML, XML and XHTML
*  Tangerine Smash - HTML vs XHTML: Choosing the best tool for the job

I won't rehash the historical reasoning (see those blog posts), but basically, it comes down to this:</description>
    </item>
    <item rdf:about="https://www.startupcto.com/front-end-tech/xhtml/id-vs.-name-in-form-fields?rev=1687841593">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-27T04:53:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ID vs. Name in Form Fields</title>
        <link>https://www.startupcto.com/front-end-tech/xhtml/id-vs.-name-in-form-fields?rev=1687841593</link>
        <description>ID vs. Name in Form Fields

When creating a form field, you should give them both an id and a name:


&lt;form&gt;
&lt;input type='text' id='formField1' name='formField1' /&gt;
&lt;input type='text' id='formField2' name='formField2' /&gt;
&lt;/form&gt;


This is because browsers use the</description>
    </item>
</rdf:RDF>
