Assignment 1

Website Design and Development



This week I started working on the design and development of a website for myself which will help me to document the process of development.

Creating a Basic Template

Softwares Used

Here are the few softwares which I have used for the process:


For editing the html files, a text editor is needed and Sublime Text Editor seems to be one of the good text editors which will help in making the process easy.

MAMP stands for ‘Mac Apache MySQL PHP’. It is used to test the files on our local browser before we upload it on the actual server. This is extremely helpful because uploading files again and again on the server is time consuming. MAMP gives instant editing results.

WinSCP is a free and open-source client for Microsoft Windows. Its main function is secure file transfer between a local and a remote computer.

 

Basic HTML Tags

Used for paragraph spacing

Eg: <p> This is a paragraph </p>

Used for pushing the text to next line

Eg : <p> This is an Example of <br> </p>

Used for different sized headlines varying from <h1> being the largest to <h6>, the smallest

Eg : <h1> This is a heading </h1>

For Adding Media

Eg: <img src="images/picture_name.jpg"

Eg: <video width="200px" height="" controls autoplay>

<source src="videos/video_name.mp4" type="video/mp4">

</video>

  1. Go to the video
  2. Click on the share button for the particular video
  3. Click on ‘Embed’ to get the autogenerated html code
  4. Copy and paste it in the required place

 

Editing the HTML Files

Different files used for the website development are:

Homepage of the website.

Basic details about myself

Different assignments are added here with link to its html file

Details regarding the project proposal and the final project

 

Compressing Images and Videos

Since I've been using photoshop for a long time, I felt Adobe Photoshop as the easy tool for compressing images to upload in website without compromising much on the quality of the image.

Steps to compress images

1. Open image file from File->Open or using shortcut key Ctrl+O in Adobe Photoshop

2. Try to change the resolution by right clicking on the image file and -> Resolution



3. Click on File->Export->Save for Web. This feature can be used to save images with lower file size.



4. Adjust the quality of the image as shown and the file size will be shown below the image.



1. File size of the image is reduced drastically.



Compressing Videos

Wondershare free Video converter is a freeware used for video conversion and compression. I used this software to compress the video as well as to change the file type to mp4 to upload in youtube.



This is quite an easy task to do. Open the video to be compressed in the software, select the output source filetype and quality. Click on 'Convert'. You're done!!

 

Uploading file to the IITD Server

As I have mentioned earlier, WinSCP is the tool used to upload html files to the web server of IITD. To connect to the server, login with institute user name and password with the host name and port number as shown below

Host Name: ssh1.iitd.ac.in

Port Number: 22




After login, created a folder with the name “private_html” as the PG students have only access to the website within the campus and copied the edited html files from the local computer ( left side tab) to the server (right side tab) and tested it with url :




Finally created my first website with the basic html code




Final Output

With the basic coding knowledge I was able to make changes according to my requirements to the final template which was downloaded from internet.