no message
This commit is contained in:
24
Question08.5-PHPHTMLEmbed/Ex02.php
Normal file
24
Question08.5-PHPHTMLEmbed/Ex02.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* TODO:
|
||||
* 1. 配列 $colors に "Red", "Green", "Blue" を格納してください。
|
||||
* 2. foreach 文を使って、$colors の各要素を <span>…</span> として順番に出力する処理を書き、
|
||||
* HTML内に埋め込んでください。
|
||||
*/
|
||||
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Ex02: 色リスト</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- $colors の各要素を <span>…</span> として出力 -->
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user