HTML stands for Hyper Text Markup Language. It is the most commonly language used for <span>creating web pages and web applications. </span>
<span>The correct HTML element for playing video files is <video>.
</span>
To show a video in HTML, use the <video> element:
Example:<span><video<span> width="320" height="240" controls</span>></span>
<span><source<span> src="video 1.mp4" type="video/mp4"</span>></span>
<span><source<span> src="movie.ogg" type="video/ogg"</span>></span>
<span></video<span>></span></span>
Answer:
The program to this question as follows:
Program:
def lettersOnly(s): #defining method lettersOnly
val="" #defining string variable that return value
for i in s: #defining loop to calculate value
if(i.isalpha()): #check condition that value is string
val=val+ i #add value
return val #return value
print(lettersOnly("data3base_ro1c3k5s")) #call method and print value
Output:
databaserocks
Explanation:
In the above python code, a method lettersOnly is declared that accepts a string variable "s" in its parameter. Inside the method, a string variable "val", and loop is declared, in which the "val" variable holds method return value.
- In the loop and if block is used that uses "isalpha" string method, which checks the check alphabetic character in the given value. if this is true it will calculate all value in "val" variable and return its value.
- At the last, the print method is used, which calls the lettersOnly method and prints its return value.
Answer:
The code:
# Import math Library
import math
# Print the value of 2pi
print (math.pi * 2) ## output would be: 6.28318530718
Explanation:
Answer:
Second generation computers were based on transistors, essentially the same as first generation computers, but with the transistors replacing the vacuum tubes / thermionic valves.
Third generation computers used printed circuit boards to replace much of the wiring between the transistors. This had the advantage that components could be mass produced, reducing the number of errors because of incorrect wiring and making the component boards replacable.
Answer:alphabetic keys, numeric keys, function keys and special keys.
Explanation: