タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

web制作とWeb制作とHTMLに関するstealthinuのブックマーク (3)

  • Onchange open URL via select - jQuery

    It is pretty simple, let's see a working example: <select id="dynamic_select"> <option value="" selected>Pick a Website</option> <option value="http://www.google.com">Google</option> <option value="http://www.youtube.com">YouTube</option> <option value="https://www.gurustop.net">GuruStop.NET</option> </select> <script> $(function(){ // bind change event to select $('#dynamic_select').on('change',

    Onchange open URL via select - jQuery
    stealthinu
    stealthinu 2016/12/07
    HTMLのselectで選択されたところへジャンプするというのをonchange使って1行だけで書いてる例がとてもシンプルで良い感じ
  • もしも10分の1の行数でHTMLが書けたら

    Zen-Codingとは 1年ほど前から、Zen-Codingが話題になっています。Zen-Codingを使うと、特定の省略された記法を展開できます。この展開が非常に強力で、ちょっとしたHTMLを記述するのであれば、Zen-CodingでHTMLCSSのマークアップを効率的に行えます。 Zen-Codingはさまざまなテキストエディタに対応したプラグインとして提供されています。プラグインには、公式対応しているものと、サードパーティの開発者が作成したものがあります。 それぞれのプラグインによって、実装機能が異なる場合があります。これらのプラグインの詳細はZen-Codingの公式サイトから確認できます。 基的な使い方 ここからはZen-Codingの基的な使い方を解説します。Zen-Codingをテキストエリアで利用できるサンプルを用いて、実際に試しながら読み進めてください。テキストエ

    もしも10分の1の行数でHTMLが書けたら
    stealthinu
    stealthinu 2011/07/05
    CoffeeScriptを見てなんか似たのあったけどなんだっけ?と思ってたんだが、そうだZen-Codingだわ。
  • HTML 4 Document Type Definition

    <!-- This is HTML 4.01 Strict DTD, which excludes the presentation attributes and elements that W3C expects to phase out as support for style sheets matures. Authors should use the Strict DTD when possible, but may use the Transitional DTD when support for presentation attribute and elements is required. HTML 4 includes mechanisms for style sheets, scripting, embedding objects, improved support fo

    stealthinu
    stealthinu 2010/06/04
    bodyの中にhead入れたり、bodyの中にstyle入れたりするのは「文法的には」不可。
  • 1