Exercice 7-1-1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title> Ex 7-1-1 </title> <script type="text/javascript"> function executer(){ //Complétez ici } </script> </head> <body> <input id="i1"> <input value="--->" onclick="executer()" type="button"> <input id="i2"> </body> </html>
Instructions Javascript
for
if
switch(n)
document.getElementById('id').value
document.getElementById('id').innerHTML=
document.getElementById('id').setAttribute
Instructions HTML
<b>
<i>
<p>
<br/>
<hr/>
<ul>
<ol>
<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
<table>
<button>
<button onclick="execute()"> Clic </button>
<input type="text"/>
<input onkeypress="if(event.keyCode==13)
execute(this.value)"/>
<img src="/image.jpg" id="identif"/>
<span id='place'>
<div id='place'>