Hyper Text Markup Language (HTML) uses different scripting options to create web pages as well as web-based apps.
Our current index.html page contains three main elements within the header of the page. Let's explore these in greater detail.
meta charset="UTF-8"
Used to set the type of character sets used in the web page or app. In this specific case, UTF-8 sets to use the universal character set that allows the browser display nearly all of the types of characters and symbols used globally.
<title>
Sets the title of the page which, in this case is titled Voice Call. Note that everything contained between the title and /title elements makes up the title of the page.
<link rel="stylesheet" href="./styles/style.css">
Signifies that we are using an external style page (style sheet) to control the formatting of the page. This page controls the look and feel of the web page or app that it is linked to. This is now pointed to our folder structure we created previously. This page is the style.css which will create in our next step. More in this a bit.
This portion makes up the page that you see online. There a number of different options that developers can use to create these pages or apps.
The page would appear like this if opened in a browser:
____________________________________
Using the script element allows the developer to use different coding options outside of HTML. In our case, we will be using JavaScript (JS) to control different actions within the app.
We will discover that we will need to update some of the placeholder text to successfully communicate with Agora for services.
There will be a second JS page that will use with even more actions later in the process to complete the build of our web app.