View HTML Headings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>This is a heading</h1> | |
<h2>This is a heading</h2> | |
<h3>This is a heading</h3> | |
<h4>This is a heading</h4> | |
<h5>This is a heading</h5> | |
<h6>This is a heading</h6> |
View What is HTML?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Page Title</title> | |
</head> | |
<body> | |
<h1>This is a Heading</h1> | |
<p>This is a paragraph.</p> | |
View HTML Colors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2 style="background-color:red"> | |
Background-color set by using red | |
</h2> | |
<h2 style="background-color:orange"> | |
Background-color set by using orange | |
</h2> | |
<h2 style="background-color:yellow"> | |
Background-color set by using yellow |
View HTML Block and Inline Elements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="background-color:black; color:white; padding:20px;"> | |
<h2>あれこれ</h2> | |
<p>あれこれ、あれこれ、あれこれ。あれこれ、あれこれ、あれこれ。あれこれ、あれこれ、あれこれ。</p> | |
<p>あれこれ、あれこれ、あれこれ。あれこれ、あれこれ、あれこれ。あれこれ、あれこれ、あれこれ。</p> | |
</div> |
View HTML Fonts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1 style="font-family:verdana;">This is a heading</h1> | |
<p style="font-family:courier;">This is a paragraph.</p> |
View HTML Images
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="画像のファイル名" alt="画像の説明" width="幅" height="高さ"> |
View HTML Iframes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe src="URL"></iframe> |
View HTML em Elements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>This text is normal.</p> | |
<p><em>This text is emphasized</em>.</p> |
View HTML JavaScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<h1>My First JavaScript</h1> | |
<button type="button" onclick="myFunction()">Click Me!</button> | |
<p id="demo">This is a demonstration.</p> |
View HTML JavaScript 1文字ずつ表示する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"><!-- | |
myMsg = "いらっしゃいませ こんにちは!"; | |
myCnt = 0; | |
function myFunc(){ | |
document.myForm.myFormMes.value = myMsg.substring( 0 , myCnt ) + "_"; | |
myCnt = ( myCnt == myMsg.length ) ? 0 : myCnt+1; | |
} | |
// --></SCRIPT> |
OlderNewer