• Hava Durumu
  • Archives
  • Search
  • Weather service
  • Privacy Policy
  • Contact
  • RSS Help
  • How TO
  • Google Search
  • Television
  • Arama
  • İnternet Sansürünü Aşma Kılavuzu
  • SportCar
  • Duyarsiz
  • Positive Video
  • Sohbet Yudum
Pozitive Positive Pozitive.NeT Progress through Technology – Pozitive Positive
  • Genel
  • Aklıma Takılanlar
  • Astroloji
  • Atatürk
  • Bilim-Teknoloji
  • Edebiyat
  • Medya
  • Sinema
  • Yaşam
  • RSS Feed
  • Facebook

Announcing the Web Standards Update – HTML5 Support for the Visual Studio 2010 Editor

– 16 Haziran 2011Posted in: Bilim-Teknoloji

vshtml5Folks have been asking "When will VS2010 support HTML5?" I’ve been saying, jokingly, that the answer is "yesterday" as there’s nothing keeping you from creating HTML5 in Visual Studio or ASP.NET today. However, there’s no intellisense and there’s lots of squiggly lines that make people uncomfortable. Combine all that with the fact that HTML5 is a moving target, and it’s unclear. We’ve said before that the next version of Visual Studio will have better support HTML5, but what about today?

Today, a rogue faction of the Web Platform and Tools team, spearheaded by Mads Kristensen, is pleased to announce the Visual Studio Web Standards Update. This adds better support for HTML5, CSS3 and new JavaScript features to ALL versions of Visual Studio.

Download the first Visual Studio Web Standards Update

HTML5 moves fast, and this update will aim to keep up with it. It adds support to Visual Studio and the editor for HTML5, CSS3 and new JavaScript features. The goal is perhaps an update every quarter or so as new features or elements emerge.  We want ASP.NET web developers to always be able to use the latest standards, as well as being able to choose from existing standards. Remember that you can use HTML5 today along with JavaScript libraries like Modernizr that allow you to create pages that work across nearly all browsers, including old crappy ones.

The Visual Studio Web Standards Update provides you with intellisense and validation for:

HTML 5 features

  • Video & related tags
  • Audio & related tag
  • New input types like email, url, date etc
  • Drag & Drop support
  • Accessibility standard WAI-ARIA
  • Microdata
  • Schema.org & more SEO friendly goodness

Browser APIs

  • Geo-Location – Location aware websites are a clear, growing trend and now you’ve got full intellisense and validation within Visual Studio.  For a nice sample, view source on the IE9 test drive demo.
  • Local Storage – IE has been supporting local storage from IE8, so now Visual Studio will provide you with full-fidelity intellisense to create sites which can save state within the browser.  For sample of this, do a view source on HTML5 Demo Site

CSS3

  • 2D Transforms
  • 3D Transforms
  • Animations
  • Background & Borders
  • Basic Box Model
  • Basic UI
  • Behavior
  • Color
  • Flexible Box Layout
  • Fonts
  • Generated Content for Paged Media
  • Hyperlink Presentation
  • Line
  • Lists
  • Marquee
  • Media Queries
  • Multi Column
  • Namespaces
  • Paged Media
  • Presentations Levels
  • Ruby
  • Selectors
  • Speech
  • Syntax
  • Template Layout
  • Text
  • Transitions

Additionally, if you are trying to make websites which work on a variety of platforms and browsers you will love the fact that Web Standards Update not only supports IE specific prefixes like –ms; but also other vendor prefixes like –webkit and –moz.

HTML5 in Visual Studio

When you start up Visual Studio 2010, you can select what version of HTML you want on a file-by-file basis, or set the defaults.

Side Note: See how IE6 is in there on its own? That’s been there since before forever. Hopefully it’ll be gone soon. Ignore it.

HTML5 in the HTML Toolbar dropdown

You can also set it as the default in Tools | Options | Text Editor | HTML | Validation. Note the options for errors.

Options (87)

All the new HTML5 semantic tags are there, like section, svg, video, etc. This is just the first release, and while it’s REALLY comprehensive, I’m sure it has some bugs. But, it’ll be updated regularly, so make sure you report anything you find and look for it to be fixed in the next release.

Adding an Audio Tag

There’s even support for important (but under-utilized and under-respected) attributes like the WAI-ARIA (Web Accessibility Initiative – Accessible Rich Internet Applications)

Adding a main role to a nav tag

Also the aria-* attributes appear not only as intellisense enabled attributes, but also their enumerated values:

Adding aria-autocomplete to an IMG tag

Tags are fun, sure, but how about microdata? Bing, Google and Yahoo are all supporting Microdata and more specifically the schema.org vocabularies. This update will therefore add intellisense to the most popular vocabularies including schema.org and data-vocabulary.org.

Adding http://schema.org/ attributes to an article

Seriously, tell me that’s NOT the hotness. Awesome for SEO.

CSS3 in Visual Studio

That’s just the HTML5 stuff. There’s also CSS3 support. Yes, that’s 1 better than CSS2.

CSS3 in the dropdown

It includes all the cool new CSS3 stuff like column-full and of course border-radius as well as animations and transforms. There’s also lots of details on vendor-specific prefixes like -webkit, -moz and -ms.

Note the informational tooltip in the dropdown here as we pick a -webkit-transform shorthand property.

Some -webkit attributes

JavaScript and HTML5 in Visual Studio

There’s a huge number of additions to JavaScript intellisense in this update. Things like geolocation via navigator.geolocation and DOM storage via window.localStorage.

Geolocation in JavaScript in VS

Here’s a slightly less trivial snippet of HTML5 and JavaScript using some new local storage features and showing the intellisense.

LocalStorage in the editor

Say what you like about intellisense as a concept or crutch, but I like to think of it as a just-in-time object browser that helps me explore new technologies as well as discover nooks and crannies that I might not see.

We don’t know what all will come in the next version of Visual Studio, or the next version of HTML5, but for those of you who are interested, we hope this "living update" of Web Standards support for Visual Studio will help you out!

Enjoy, Dear Reader.

P.S. This is an update for ASP.NET and HTML5 editing people who want to use HTML5, new JavaScript features and CSS3. I didn’t mention Silverlight because it has nothing to do with Silverlight. I said once "just because your favorite technology isn’t mentioned in a keynote doesn’t mean it’s dead." Assume that the same rule applies to a Blog Post.

P.P.S. No, that logo to the right isn’t official anything and yes, it’s fun.

Related Links

  • Visual Web Developer Team Blog – Web Standards Update for Visual Studio 2010 SP1


© 2011 Scott Hanselman. All rights reserved.


  • delicious Bookmark on Delicious
  • digg Digg this post
  • facebook Recommend on Facebook
  • reddit share via Reddit
  • stumble Share with Stumblers
  • twitter Tweet about it
  • rss Subscribe to the comments on this post
  • print Print for later
  • bookmark Bookmark in Browser
  • email Tell a friend
Similar Posts:
    • ASP.NET 4 and Visual Studio 2010 beta 2 are here!
    • ASP.NET 4 and Visual Studio 2010 beta 2 are here!
    • New Improved IntelliSense with Visual Studio 2010
    • HTML5 Intellisense in Visual Studio 2010/2008
    • HTML5 Improvements with the ASP.NET MVC 3 Tools Update

Announcing the Web Standards Update – HTML5 Support for the Visual Studio 2010 Editor Konulu Google Araması Sonuçları ve Google da Konulu Diğer Haberler

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Lütfen dikkat: Yorum kontrolu etkin,bu yüzden yorumlarınızın yayınlanması zaman alabilir.Lütfen Yorumunuzun kontgrol edilerek yayınlanması için bekleyiniz,yorum tekrarı yapmayınız.

ÖNEMLİ NOT: Bu sayfalarda yayınlanan okur yorumları okuyucuların kendilerine ait görüşlerdir. Yazılan yorumlardan Pozitive veya Pozitive.net hiçbir şekilde sorumlu tutulamaz.
UYARI: Küfür, hakaret, rencide edici cümleler veya imalar, inançlara saldırı içeren, imla kuralları ile yazılmamış, Türkçe karakter kullanılmayan ve tamamı büyük harflerle yazılmış yorumlar onaylanmamaktadır. Ayrıca suç teşkil edecek hakaret içerikli yorumlar hakkında muhatapları tarafından dava açılabilmektedir.

No Comments

Start the ball rolling by posting a comment on this article!

Bir Cevap Yazın Cevabı iptal et

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

*

*

Güvenlik Kodunun Resmi
Yeni Resim Göster

*

Şu HTML etiketlerini ve özelliklerini kullanabilirsiniz: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Yorum onaylama sistemi etkin; yorumunuzun yayınlanması biraz zaman alabilir.

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Lütfen dikkat: Yorum kontrolu etkin,bu yüzden yorumlarınızın yayınlanması zaman alabilir.Lütfen Yorumunuzun kontgrol edilerek yayınlanması için bekleyiniz,yorum tekrarı yapmayınız.

ÖNEMLİ NOT: Bu sayfalarda yayınlanan okur yorumları okuyucuların kendilerine ait görüşlerdir. Yazılan yorumlardan Pozitive veya Pozitive.net hiçbir şekilde sorumlu tutulamaz.
UYARI: Küfür, hakaret, rencide edici cümleler veya imalar, inançlara saldırı içeren, imla kuralları ile yazılmamış, Türkçe karakter kullanılmayan ve tamamı büyük harflerle yazılmış yorumlar onaylanmamaktadır. Ayrıca suç teşkil edecek hakaret içerikli yorumlar hakkında muhatapları tarafından dava açılabilmektedir.

  • Translate
    EnglishFrenchGermanItalianPortugueseRussianSpanish
    • RSS feed RSS feed
  • Similar Posts
    • ASP.NET 4 and Visual Studio 2010 beta 2 are here!
    • ASP.NET 4 and Visual Studio 2010 beta 2 are here!
    • New Improved IntelliSense with Visual Studio 2010
    • HTML5 Intellisense in Visual Studio 2010/2008
    • HTML5 Improvements with the ASP.NET MVC 3 Tools Update
    • Microsoft .NET Framework 4 Platform Update 1
    • Silverlight, Html5 and the future of Wcf
    • Silverlight, Html5 and the future of Wcf
    • iAzure: Mobile HTML apps Windows Azure Storage
    • How to detect if the .NET Framework Platform Update 1 is installed
  • Son Yazılar
    • LightSwitch Community & Content Rollup–February 2012
    • HTML5 and Device API’s
    • 10 Ways to Make Information More Useful
    • Spend $100 to Prioritize Your Opportunities
    • Value is the Short-Cut for Building Better Products
  • Popular Posts
    • Plakalarda siyaset, takım ve isim piyasası kızıştı
    • JSON, ASP.NET MVC and JQuery – Working with Untyped JSON made easy
    • Nefes kesen ödüllü fotoğraflar ve hikayeleri
    • Calvin Klein provakatif mi ? müstehcen mi ?
    • Alacakaranlık kuşağı ve vampir filmleri
    • Windows Anytime Upgrade ile Windows 7 sürümü yükseltme
    • O Hep Yaşayacak Sen Oyna
    • Dinazorlar düşünülenden daha küçükmüş
    • İşte Ölüm Döşeğindeki ATATÜRK
    • Ercan Saatçi'nin yaptıkları 'Pes artık' dedirtiyor

  • Map
  • Sayfalar
    • Arama
    • Archives
    • Contact
    • Duyarsiz
    • Google Search
    • Hava Durumu
    • How TO
    • İnternet Sansürünü Aşma Kılavuzu
    • Positive Video
    • Privacy Policy
    • RSS Help
    • Search
    • Sohbet Yudum
    • SportCar
    • Television
    • Weather service
    • Featured
    • Latest
    • Comments
    • Tags
    • LightSwitch Community & Content Rollup–February 2012
      22 Nisan 2012 6:42 PM | No Comments
    • HTML5 and Device API’s
      22 Nisan 2012 6:41 PM | No Comments
    • 10 Ways to Make Information More Useful
      22 Nisan 2012 6:41 PM | No Comments
    • Spend $100 to Prioritize Your Opportunities
      22 Nisan 2012 6:41 PM | No Comments
    • Value is the Short-Cut for Building Better Products
      22 Nisan 2012 6:41 PM | No Comments
    • LightSwitch Community & Content Rollup–February 2012
      22 Nisan 2012 6:42 PM | No Comments
    • HTML5 and Device API’s
      22 Nisan 2012 6:41 PM | No Comments
    • 10 Ways to Make Information More Useful
      22 Nisan 2012 6:41 PM | No Comments
    • Spend $100 to Prioritize Your Opportunities
      22 Nisan 2012 6:41 PM | No Comments
    • Value is the Short-Cut for Building Better Products
      22 Nisan 2012 6:41 PM | No Comments
    • Burkut Mersin
      Dinlenemeyen cep telefonu !
    • Davut çetindor
      Nobel’e rekor başvuru
    • PoZitive
      Penguenler de Oynar: Pandora’nın Kutusu’nu Açmak
    • Teenator
      Penguenler de Oynar: Pandora’nın Kutusu’nu Açmak
    • Victor
      MVVM And Linq In Javascript for .NET Programmers
    9 AB anı Arda at Ata av ay ayı Aşk Bar der Din Ev eş Gen Genel Haber IE kim lerin m Maya Neden oli Orm oyun rol RTE SIM site su sun süre Taraf ter Türk Türkiye ur yaz yıl Zaman çin İş şa
  •  
    Haziran 2011
    Pts Sal Çar Per Cum Cts Paz
    « May   Tem »
     12345
    6789101112
    13141516171819
    20212223242526
    27282930  
  • Recent Searches
    • Edırne
    • 101 dalmatıans
    • ASP.NET MVC Öğreniyorum
    • mvc
    • Search...
  • Popular Searches
    • 101 dalmatıans
    • Edırne

Positive - Pozitive

Copyright Positive Pozitive.NeT. All Rights Reserved.


© 2011 Pozitive.NeT
1998-2011 Pozitive.Net sadece internet üzerinden yayın yapmaktadır. Pozitive.Net altinda bulunan tum yazi,yorum,bilgi ve belge'nin icerigi,belirtilen kaynaga aittir.Sitemizden kaynak göstermek koşuluyla alıntı yapılabilir.Pozitive.Net dış bağlantılardaki sitelerin içeriğinden sorumlu tutulamaz.Siteden yararlanırken gizlilik ilkelerini okumanızı tavsiye ederiz.
Positive Pozitive Progress through Technology
Creative Commons License
BAZI HAKLARI SAKLIDIR: İçerik Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Generic License ile lisanslanmıştır. İçeriğin Pozitive.Net tarafından üretilmiş kısmı, atıfta bulunularak, ticari çalışmalar haricinde, değiştirilmeden dağıtılabilir ve kullanılabilir. İçeriği forumlarda yada kendi sitenizde kullanırken, alıntının en altında konunun orijinaline link vermeyi unutmayın.

Top

  • Become my Facebook friend Become my Facebook friend
  • RSS RSS