FAQ

Just another 仙台入門new weblog

­

権限による入力制限 html

2009年 5月 26日 admin

wordpressは、異なったユーザ権限を各ユーザに与える事ができます。
ユーザの権限により、入力可能なhtmlの制限されます。

一般的な無料ブログサービスなどでの、ユーザーと、wordpressの、投稿者権限は、大体似ていて、iframe object form style等で、制限を受けます。

以下の例は、同じhtmlコードを権限の異なるユーザーでログインして、結果表示されたエントリーから、その部分を並べてみたものです。

※wordPress MU 2.7

管理者権限の投稿

目的

このファイルは、ブラウザ依存のない標準的なタグによる。視覚的な表現の仕様を決定するために、作成しました。タグは、XHTML 1.0 Transitionalで使用できるものとしました。 実際に作成するdtdにより使用可能なタグは、制限(拡張)されます。 レイアウトは、3カラムレイアウトが、スタイルシートでプリセットされています。 W3Cのバリデーションサービスを通過しています。

Dreamweaverによる、ターゲットブラウザチェック結果

Dreamweaverによるバリデータ

プリセットid

  • id="head"ドキュメントヘッダーブロック
  • id="left_navi"左ナビゲーションブロックブロック
  • id="right_navi"右ナビゲーションブロックブロック
  • id="page"実ドキュメントブロック
  • id="foot"ドキュメントフッターブロック

プリセットクラス 汎用

  • topic_path トピックパス
  • name_anchor 名前付ページ内リンク
  • emphasis_recommend おすすめの強調
  • emphasis_careful 注意喚起の強調
  • emphasis_warning 警告注意の強調
  • emphasis_danger 危険注意の強調
  • datetime 日付 時刻
  • signature 署名
  • email 電子メール
  • supplement 画像などの等価文書

プリセットクラス ブロック

  • channel ブロック
  • channel h3 チャンネル タイトル
  • channel a a:hover チャンネル リンク
  • channel img チャンネル イメージ
  • channel ul チャンネル  リスト 
  • channel p チャンネル  段落
  • channel .remark p チャンネル  注釈

h3 title

index.html

html4.0、html4.01 transitional、html4.01 frameset、xhtml1.0 または msie

sample image

  • signature 署名
  • email 電子メール
  • datetime 日付 時刻

h3 title

index.html

html4.0、html4.01 transitional、html4.01 frameset

xhtml1.0 または msie

  • signature 署名
  • email 電子メール
  • datetime 日付 時刻

address

addressあいうえおabc abc abc abc

連絡先


blockquote

blockquoteあいうえおabc abc abc abc

長い引用 短い引用:q


div

divあいうえおabc abc abc abc

ドキュメントブロック division


dl dt dd

dtあいうえおabc abc abc abc
dd
あいうえお
abc 
abc 
abc
abc

データリスト


fieldset legend

fieldset

fieldsetあいうえおabc abc abc abctabindexは指定できません

フォームグループ


form

formあいうえおabc abc abc abc


noframes


見出し

h1-h6

h1     あいうえおabc abc abc abc


h2     あいうえおabc abc abc abc


h3     あいうえおabc abc abc abc


h4     あいうえおabc abc abc abc


h5     あいうえおabc abc abc abc

h6     あいうえおabc abc abc abc

iframe

html4.0、html4.01 transitional、html4.01 frameset、xhtml1.0 または msie

インラインフレーム


object

画像切り替え 等価な内容の記述

object data="object.html" type="text/html" width="300" height="100"あいうえおabc abc abc abc

オブジェクト


ol

  1. ol
  2. あいうえお
  3. abc 
  4. abc 
  5. abc
  6. abc

番号付リスト


p

pあいうえおabc abc abc abc段落


ul

  • ol
  • あいうえお
  • abc 
  • abc 
  • abc
  • abc

リスト


applet

アプレットと等価な内容をここに記述する。<applet code="imagechanger.class" width=288 height=206>

<param name="images"

value="phot003.gif,phot005.gif,phot021.gif,phot059.gif,phot065.gif,phot063.gif">

</applet>

imagechanger202.zipアプレット


center

centerあいうえおabc abc abc abc
非推奨タグ<div align="center" >…….</div>またはスタイルを適用中央揃え


hr


pre

 preあいうえおabc abc abc abc 

table tr td

olあいうえおabc abc abc abc

table thead th tbody tfoot tr td

olあいうえおabc abc abc abc
olあいうえおabc abc abc abc
olあいうえおabc abc abc abc
olあいうえおabc abc abc abc

table tr td col

olあいうえおabc abc abc abc
olあいうえおabc abc abc abc
olあいうえおabc abc abc abc

table tr td colgroup

olあいうえおabc abc abc abc
olあいうえおabc abc abc abc
olあいうえおabc abc abc abc

table tr td caption

captionあいうえおabc abc abc abc
olあいうえおabc abc abc abc
olあいうえおabc abc abc abc
olあいうえおabc abc abc abc

form input type=text

form


form input type=radio

form

form

あいうえお

abc

abc

abc

abc


form type="checkbox"

form

あいうえお

abc

abc

abc

abc


FORM SELECT NAME="SAMPLE1" SIZE="7" MULTIPLE


form type="submit" type="reset"


form type="password" name="pass" size="30" maxlength="30"


form type="file" name="sample" size="30"


form textarea wrap="hard"


dir

  • ol
  • あいうえお
  • abc 
  • abc 
  • abc
  • abc
  • 非推奨タグ 代替:<ul>…….</ul>

    html1.0、html2.0、html2.x、html+、html3.0、html3.2、html4.0、html4.01 transitional、html4.01 frameset、xhtml1.0、mozilla、msie、webexplorer、compact html、imode dotiタグ


    menu

  • ol
  • あいうえお
  • abc 
  • abc 
  • abc
  • abc
  • 非推奨タグ 代替:<ul>…….</ul>

    html1.0、html2.0、html2.x、html+、html3.0、html3.2、html4.0、html4.01 transitional、html4.01 frameset、xhtml1.0、mozilla、msie、webexplorer、compact html、imode または doti 用のタグ


    b

    bあいうえおabc abc abc abc

    非推奨 物理的フォントタグ 論理的タグ推奨 代替:strong


    strong

    strongあいうえおabc abc abc abc


    blockquote

    blockquoteあいうえおabc abc abc abc


    i

    iあいうえおabc abc abc abc

    非推奨 物理的フォントタグ 論理的タグ推奨 代替: em


    cite

    citeあいうえおabc abc abc abc

    引用語句の意味で使用し、イタリック体


    em

    emあいうえおabc abc abc abc

    強調の意味で使用し、イタリック体


    var

    varあいうえおabc abc abc abc

    変数の意味で使用し、イタリック体


    address

    addressあいうえおabc abc abc abc


    pre

     preあいうえおabc abc abc abc 

    tt

    ttあいうえおabc abc abc abc

    非推奨 物理的フォントタグ 論理的タグ推奨 代替:code、samp、kbd 


    code

    codeあいうえおabc abc abc abc

    プログラムコードの意味で使用し、等幅フォント


    kbd

    kbdあいうえおabc abc abc abc

    ユーザが入力する文字列


    samp

    sampあいうえおabc abc abc abc

    サンプル


    pre

     preあいうえおabc abc abc abc 

    big

    bigあいうえおabc abc abc abc


    small

    smallあいうえおabc abc abc abc


    sub

    1 subあいうえおabc abc abc abc


    sup

    1 supあいうえおabc abc abc abc


    s

    sあいうえおabc abc abc abc

    抹消線html+、html3.0、html4.0、html4.01 transitional、html4.01 frameset、xhtml1.0、mozilla、msie または webexplorer 用のタグ


    strike

    strikeあいうえおabc abc abc abc

    非推奨 抹消線は html3.2、html4.0、html4.01 transitional、html4.01 frameset、xhtml1.0、mozilla または msie 用のタグです。


    del

    the xmp element contains preformatted text in which markup other than an end tag is treated as literal text.


    ins

    web標準で、

    いや、web標準を目標に、

    ページを作っても、気づく人も少ない。web標準だから、画面が乱れないとも、バリデータを通ったから、完全だとも言えまい。web標準は、自慢することではない。

    保守的な行動をする人がいて、革新的なことに興味をそそられる人もいて、そのどちらでもない人が、目立つことはない。ただ、偏らないことは、簡単に出来はしない。

    投稿者権限で投稿

    目的

    このファイルは、ブラウザ依存のない標準的なタグによる。視覚的な表現の仕様を決定するために、作成しました。タグは、XHTML 1.0 Transitionalで使用できるものとしました。実際に作成するdtdにより使用可能なタグは、制限(拡張)されます。レイアウトは、3カラムレイアウトが、スタイルシートでプリセットされています。W3Cのバリデーションサービスを通過しています。

    Dreamweaverによる、ターゲットブラウザチェック結果

    Dreamweaverによるバリデータ

    プリセットid

    • id="head"ドキュメントヘッダーブロック
    • id="left_navi"左ナビゲーションブロックブロック
    • id="right_navi"右ナビゲーションブロックブロック
    • id="page"実ドキュメントブロック
    • id="foot"ドキュメントフッターブロック

    プリセットクラス 汎用

    • topic_path トピックパス
    • name_anchor 名前付ページ内リンク
    • emphasis_recommend おすすめの強調
    • emphasis_careful 注意喚起の強調
    • emphasis_warning 警告注意の強調
    • emphasis_danger 危険注意の強調
    • datetime 日付 時刻
    • signature 署名
    • email 電子メール
    • supplement 画像などの等価文書

    プリセットクラス ブロック

    • channel ブロック
    • channel h3 チャンネル タイトル
    • channel a a:hover チャンネル リンク
    • channel img チャンネル イメージ
    • channel ul チャンネル  リスト 
    • channel p チャンネル  段落
    • channel .remark p チャンネル  注釈

    h3 title

    index.html

    html4.0、html4.01 transitional、html4.01 frameset、xhtml1.0 または msie

    sample image

    • signature 署名
    • email 電子メール
    • datetime 日付 時刻

    h3 title

    index.html

    html4.0、html4.01 transitional、html4.01 frameset

    xhtml1.0 または msie

    • signature 署名
    • email 電子メール
    • datetime 日付 時刻

    address

    addressあいうえおabc abc abc abc

    連絡先


    blockquote

    blockquoteあいうえおabc abc abc abc

    長い引用 短い引用:q


    div

    divあいうえおabc abc abc abc

    ドキュメントブロック division


    dl dt dd

    dtあいうえおabc abc abc abc
    dd
    あいうえお
    abc 
    abc 
    abc
    abc

    データリスト


    fieldset legend

    fieldset

    fieldsetあいうえおabc abc abc abc tabindexは指定できません

    フォームグループ


    form

    formあいうえおabc abc abc abc


    noframes


    見出し

    h1-h6

    h1     あいうえおabc abc abc abc


    h2     あいうえおabc abc abc abc


    h3     あいうえおabc abc abc abc


    h4     あいうえおabc abc abc abc


    h5     あいうえおabc abc abc abc

    h6     あいうえおabc abc abc abc

    iframe

    iframe src="iframe.html" cols="50" rows="50"あいうえおabc abc abc abc html4.0、html4.01 transitional、html4.01 frameset、xhtml1.0 または msie

    インラインフレーム


    object

    画像切り替え 等価な内容の記述

    object data="object.html" type="text/html" width="300" height="100"あいうえおabc abc abc abc

    オブジェクト


    ol

    1. ol
    2. あいうえお
    3. abc 
    4. abc 
    5. abc
    6. abc

    番号付リスト


    p

    pあいうえおabc abc abc abc 段落


    ul

    • ol
    • あいうえお
    • abc 
    • abc 
    • abc
    • abc

    リスト


    applet

    アプレットと等価な内容をここに記述する。

    <applet code="imagechanger.class" width=288 height=206>

    <param name="images"

    value="phot003.gif,phot005.gif,phot021.gif,phot059.gif,phot065.gif,phot063.gif">

    </applet>

    imagechanger202.zipアプレット


    center

    centerあいうえおabc abc abc abc

    非推奨タグ<div align="center" >…….</div>またはスタイルを適用 中央揃え


    hr


    pre

     preあいうえおabc abc abc abc 

    table tr td

    ol あいうえお abc  abc  abc abc

    table thead th tbody tfoot tr td

    ol あいうえお abc  abc  abc abc
    ol あいうえお abc  abc  abc abc
    ol あいうえお abc  abc  abc abc
    ol あいうえお abc  abc  abc abc

    table tr td col

    ol あいうえお abc  abc  abc abc
    ol あいうえお abc  abc  abc abc
    ol あいうえお abc  abc  abc abc

    table tr td colgroup

    ol あいうえお abc  abc  abc abc
    ol あいうえお abc  abc  abc abc
    ol あいうえお abc  abc  abc abc

    table tr td caption

    captionあいうえおabc abc abc abc
    ol あいうえお abc  abc  abc abc
    ol あいうえお abc  abc  abc abc
    ol あいうえお abc  abc  abc abc

    form input type=text

    form


    form input type=radio

    form

    form

    あいうえお

    abc

    abc

    abc

    abc


    form type="checkbox"

    form

    あいうえお

    abc

    abc

    abc

    abc


    FORM SELECT NAME="SAMPLE1" SIZE="7" MULTIPLE

    サンプル form あいうえお abc abc

    abc abc


    form type="submit" type="reset"


    form type="password" name="pass" size="30" maxlength="30"


    form type="file" name="sample" size="30"


    form textarea wrap="hard"


    dir

  • ol
  • あいうえお
  • abc 
  • abc 
  • abc
  • abc
  • 非推奨タグ 代替:<ul>…….</ul>

    html1.0、html2.0、html2.x、html+、html3.0、html3.2、html4.0、html4.01 transitional、html4.01 frameset、xhtml1.0、mozilla、msie、webexplorer、compact html、imode dotiタグ


    menu

  • ol
  • あいうえお
  • abc 
  • abc 
  • abc
  • abc
  • 非推奨タグ 代替:<ul>…….</ul>

    html1.0、html2.0、html2.x、html+、html3.0、html3.2、html4.0、html4.01 transitional、html4.01 frameset、xhtml1.0、mozilla、msie、webexplorer、compact html、imode または doti 用のタグ


    b

    bあいうえおabc abc abc abc

    非推奨 物理的フォントタグ 論理的タグ推奨 代替:strong


    strong

    strongあいうえおabc abc abc abc


    blockquote

    blockquoteあいうえおabc abc abc abc


    i

    iあいうえおabc abc abc abc

    非推奨 物理的フォントタグ 論理的タグ推奨 代替: em


    cite

    citeあいうえおabc abc abc abc

    引用語句の意味で使用し、イタリック体


    em

    emあいうえおabc abc abc abc

    強調の意味で使用し、イタリック体


    var

    varあいうえおabc abc abc abc

    変数の意味で使用し、イタリック体


    address

    addressあいうえおabc abc abc abc


    pre

     preあいうえおabc abc abc abc 

    tt

    ttあいうえおabc abc abc abc

    非推奨 物理的フォントタグ 論理的タグ推奨 代替:code、samp、kbd 


    code

    codeあいうえおabc abc abc abc

    プログラムコードの意味で使用し、等幅フォント


    kbd

    kbdあいうえおabc abc abc abc

    ユーザが入力する文字列


    samp

    sampあいうえおabc abc abc abc サンプル


    pre

     preあいうえおabc abc abc abc 

    big

    bigあいうえおabc abc abc abc


    small

    smallあいうえおabc abc abc abc


    sub

    1 subあいうえおabc abc abc abc


    sup

    1 supあいうえおabc abc abc abc


    s

    sあいうえおabc abc abc abc

    抹消線 html+、html3.0、html4.0、html4.01 transitional、html4.01 frameset、xhtml1.0、mozilla、msie または webexplorer 用のタグ


    strike

    strikeあいうえおabc abc abc abc

    非推奨 抹消線 は html3.2、html4.0、html4.01 transitional、html4.01 frameset、xhtml1.0、mozilla または msie 用のタグです。


    del

    the xmp element contains preformatted text in which markup other than an end tag is treated as literal text.


    ins

    web標準で、

    いや、web標準を目標に、

    ページを作っても、気づく人も少ない。web標準だから、画面が乱れないとも、バリデータを通ったから、完全だとも言えまい。web標準は、自慢することではない。

    保守的な行動をする人がいて、革新的なことに興味をそそられる人もいて、そのどちらでもない人が、目立つことはない。 ただ、偏らないことは、簡単に出来はしない。

    .
    © FAQ Entries (RSS) and Comments (RSS)