Results 1 to 7 of 7

Thread: Web Coding Standards

  1. #1

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Arrow Web Coding Standards

    I need to put together a document on the latest web standards for compliancy, validation and accessibility.

    Something like ...

    • Xhtml (not Strict)
    • CSS
    • Web Accessiblity


    I already have
    http://www.w3.org/TR/WCAG10/

    But I need more official updated links and also need documentation for the other topics like WC3.

    Thanks
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Web Coding Standards

    The obvious starts are:
    XHTML: http://www.w3.org/TR/xhtml1/
    CSS: http://www.w3.org/Style/CSS/

    And I am not entirely sure what you want to glean from those links, but you could also probably include links to the validators:

    Page: http://validator.w3.org/
    CSS: http://jigsaw.w3.org/css-validator/
    WAI: http://www.smartlabsoftware.com/wai-validator.htm

  3. #3

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Web Coding Standards

    Thanks froggy. Any personal inputs (do's and donts, style preferences etc) seeing how you are a pro-web developer.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Web Coding Standards

    Lots! Keep CSS separate. Keep JS separate. Use AJAX to improve functionality if you must, but don't use it such that the website depends on it. Same goes for flash and silverlight - anything that a crawler can't see, if important, hits you hard. Don't use _target to open new windows. Don't use modaldialogboxes.

    Use descriptive titles. Simple layouts. Image alt tags.

    If you use ASP.NET, keep the UI functionality (.aspx.vb) separate from the UI (.aspx). Minimize viewstate sent to the client (example: don't put datasets in viewstate). Use common sense.

  5. #5
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: Web Coding Standards

    Use relative links! Unless you're linking to a completely different website, it's completely unnecessary.

    Avoid CSS and HTML hacks where possible. I had to work on a site for a large bank and we were not allowed to use any CSS or HTML hacks and it had to look good on IE6, IE7 (not a requirement though; don't ask me why), Firefox and IE for the Mac. In the end, we got their new layout of their web application working without any hacks but we eventually caved and used one for IE on the Mac (I forget what it was but there was no way around it unless we wanted to serve seperate style sheets).

    Don't serve seperate style sheets per browser.

    Use Object/Capability Detection instead of parsing user agent strings (never parse a user agent string).
    http://dev.opera.com/articles/view/u...ity-detection/
    http://developer.apple.com/internet/...detection.html

    Use Print and Mobile styles sheets when possible (sometimes using a seperate version of the page for a mobile device is necessary if you need to hide lots of data but it's best to avoid this page duplication where possible).

    Don't overuse classes. Instead, target specific elements within classes when it makes sense.

    Pages need to degrade seemlessly. If someone is using IE4 on your website, while it may not look good it should at least gracefully break so that it's still readable. This means avoid absolute positioning where possible and making liberal use of relative positioning. Basically make sure the HTML elements are in a good order.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  6. #6
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Web Coding Standards


  7. #7

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Web Coding Standards

    Thanks PG. Tons to read there
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width