Posts

Showing posts from May, 2021

HTML Forms

Image
  <!DOCTYPE html> <html> <body>   <h2>LAB-06 HTML Forms</h2>   <form action="/action_page.php"> <label for="fname">First name:</label><br> <input type="text" id="fname" name="fname" value=""><br> <label for="lname">Last name:</label><br> <input type="text" id="lname" name="lname" value=" "><br><br> <input type="submit" value="Submit"> </form>   <p>If you click the "submit" button, the form-data will be sent to a page called "/action_page.php".</p>   </body> </html> Output: Question 1 <!DOCTYPE html> It is used to tell the browser what kind of document to display, in this case html. It is used for all HTML documents. <html> The main langua...

TCP//IP

Image
1.How to check your computer IP address? Give me several ways on how to do it. Method 1: Finding IP address using control panel (Windows) Step 1: Search  “View network connections” in the Windows search bar. Step 2:  Double click your active connections. Step 3:  Click “Details” and the IP address is beside the “IPv4 Address”. Method 2: Run cmd.exe and type ipconfig. 2. How are we going to setup static IP configuration? Step 1: Search  “View network connections” in the Windows search bar. Step 2: Right  click your active connections and go to "Properties". Step 3: Click "Internet Protocol Version 4 (TCP/IPv4)" and go to "Properties" Step 4: Click "Use the following IP address" and enter the IP address in the "Subnet mask". 3. When do we need to setup static IP configuration? - Setting up a home file server - Adding a second router to a network - Sharing a printer over a network 4. Do you know the type of UTHM IP configura...