File tree Expand file tree Collapse file tree 2 files changed +37
-9
lines changed Expand file tree Collapse file tree 2 files changed +37
-9
lines changed Original file line number Diff line number Diff line change 1
1
Tutorial
2
2
--------
3
3
4
- This page is empty. You are welcome to contribute the content by sending me a pull request:
4
+ HTML5 includes the ` <video> ` tag. It is used for displaying videos.
5
5
6
- [[ https://github.com/ronreiter/interactive-tutorials ]]
6
+ <video width="400" height="400" controls>
7
+ <source src="video.mp4" type="video/mp4">
8
+ </video>
9
+
10
+ ### Code explained
11
+
12
+ ` <video> ` is the main tag that is used for displaying videos.
13
+ ` controls ` adds buttons for controlling the video.
14
+ ` <source> ` adds a file.
15
+ ` src ` specifies the file location on the server.
16
+ ` type ` specifies the file type (In this case MP4)
7
17
8
18
Exercise
9
19
--------
10
20
11
- This page does not have an exercise yet. You are welcome to contribute one by sending me a pull request:
12
-
13
- [[ https://github.com/ronreiter/interactive-tutorials ]]
21
+ Add ` myvideo.mp4 ` to this website with height 600 and width 649.
14
22
15
23
16
24
Tutorial Code
@@ -21,6 +29,7 @@ Tutorial Code
21
29
<head>
22
30
</head>
23
31
<body>
32
+
24
33
</body>
25
34
</html>
26
35
@@ -30,10 +39,11 @@ Expected Output
30
39
<!DOCTYPE html>
31
40
<html>
32
41
<head>
33
- <title>Hello, World!</title>
34
42
</head>
35
43
<body>
36
- <p>Hello, World!</p>
44
+ <video height="600" width="649" controls>
45
+ <source src="myvideo.mp4" type="video/mp4>
46
+ </video>
37
47
</body>
38
48
</html>
39
49
@@ -43,9 +53,10 @@ Solution
43
53
<!DOCTYPE html>
44
54
<html>
45
55
<head>
46
- <title>Hello, World!</title>
47
56
</head>
48
57
<body>
49
- <p>Hello, World!</p>
58
+ <video height="600" width="649" controls>
59
+ <source src="myvideo.mp4" type="video/mp4>
60
+ </video>
50
61
</body>
51
62
</html>
Original file line number Diff line number Diff line change
1
+ # Welcome
2
+
3
+ Welcome to the learnassembly.org free interactive x86 Assembly tutorial.
4
+
5
+ Assembly is a programming language used in really low level software such as Operating Systems, Compilers.
6
+
7
+ learnassembly.org is still under construction - If you wish to contribute tutorials, please click on ` Contributing Tutorials ` down below.
8
+
9
+ ### Learn the Basics
10
+
11
+ - Hello, World!
12
+
13
+ ### Advanced tutorials
14
+
15
+ ### Contributing Tutorials
16
+
17
+ Read more here: [[ Contributing Tutorials]]
You can’t perform that action at this time.
0 commit comments