JavaScript 文字列操作 新しいページはコチラ

提供: yonewiki
移動: 案内, 検索
(フォント色 fontcolor)
(フォント色 fontcolor)
89行: 89行:
 
strData3 = new String("フォント色の指定(fontcolor) 191970 MidnightBlue");
 
strData3 = new String("フォント色の指定(fontcolor) 191970 MidnightBlue");
  
document.write(strData2.fontcolor("Navy"));
+
document.write(strData2.fontcolor("Navy"), "</BR>");
document.write(strData3.fontcolor("191970"));
+
document.write(strData3.fontcolor("191970"), "</BR>");
 
</syntaxhighlight>
 
</syntaxhighlight>
  
99行: 99行:
 
strData3 = new String("フォント色の指定(fontcolor) 191970 MidnightBlue");
 
strData3 = new String("フォント色の指定(fontcolor) 191970 MidnightBlue");
  
document.write(strData2.fontcolor("Navy"));
+
document.write(strData2.fontcolor("Navy"), "</BR>");
document.write(strData3.fontcolor("191970"));
+
document.write(strData3.fontcolor("191970"), "</BR>");
 
</yjavascript>
 
</yjavascript>
  

2016年7月12日 (火) 00:00時点における版



個人用ツール
名前空間

変種
操作
案内
ツールボックス