Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>Condição IF</title>
- <link href="css.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div class="header">
- <h1>TIS - JAVASCRIPT</h1>
- </div>
- <div class="wrapper">
- <div class="nav">
- <a href="index.html" class="buttons">HOME </a>
- <a href="codigo.html" class="buttons">CODIGO </a>
- <a href="dowhile.html" class="buttons">DOWHILE </a>
- <a href="for.html" class="buttons">FOR </a>
- <a href="ifelse.html" class="buttons">IFELSE </a>
- <a href="while.html" class="buttons">WHILE </a>
- <a href="if.html" class="buttons">IF </a>
- </div>
- <tr>
- <td class="tgrande">
- <p align="center">Expressões condicionais <b>IF</b><br></p>
- <p align="center">
- <script>
- var bananas=6;
- if(bananas==6)
- alert("É verdade. Temos meia dúzia de bananas!!!");
- </script>
- <p align="center">O <b>IF</b> é a mais básica das expressões condicionadas no JavaScript. Com ele, você pode decidir se quer executar uma acção ou não.
- </td>
- </tr>
- <tr>
- <td class="tpequeno">
- <p align="center"><b>CURSO TÉCNICO DE INFORMÁTICA SISTEMAS </b></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment