Methodological Instructions
Theme: Using Scripts
Aim: 10.4.2.3 use ready-made scripts in web-development
Assessment criteria
- Demonstrates the skill of creating, saving and opening your own webpage.
- Uses a script for the design of your web page
- Uses basic tags to create your own webpage.
Key words and phrases:
• Website, webpage, HTML, CSS, tag, javascript, script
A series of useful phrases for dialogue / writing:
• The script is used for ,,,,
• We use tags for ....
• Tags are ...
• I used (a) title tag ... to ...
• Cascading style sheet is designed to ...
• Multimedia includes ...
• To insert an image use the tag ....
I. Theory
The <script> tag is used to define a client-side script (JavaScript).
The <script> element either contains script statements, or it points to an external script file through the src attribute.
Common uses for JavaScript are image manipulation, form validation, and dynamic changes of content.
To select an HTML element, JavaScript most often uses the document.getElementById() method.
This JavaScript example writes "Hello JavaScript!" into an HTML element with id="demo":
Example
<script>
document.getElementById("demo").innerHTML = "Hello JavaScript!";
</script>
Visual Aids and Materials.
1. Slides
2. http://smk.edu.kz/Bank/Download/53632979-edfe-4b97-9bc4-5974fe234c59
3. http://uroki-html.ru/html/html_scripts.php
4. https://www.w3schools.com/html/html_scripts.asp
5. https://www.w3schools.com/js/js_whereto.asp
6. https://www.wikihow.com/Add-JavaScript-to-Your-Website-Using-HTML
7. https://www.ntchosting.com/encyclopedia/scripting-and-programming/php/php-in/
8.
Скачано с www.znanio.ru
Материалы на данной страницы взяты из открытых источников либо размещены пользователем в соответствии с договором-офертой сайта. Вы можете сообщить о нарушении.