Normal view

There are new articles available, click to refresh the page.
Before yesterdaykarthikeyan

Python a new beginning DAY-1(9-9-2024)

9 September 2024 at 16:08

I’ve started learning Python from scratch and purchased a course on Udemy from Dr. Angela Yu(100days of code). I’ve installed both python and PyCharm for practice and Thonny to see how code is debugged.

print(“”) ()-parentheses

  • print(“hello python”) run the program
    hello python
  • print(“hello python”)
    print(“hello world”)
    print(“hello linux”) run the program
    hello python
    hello world
    hello linux
    instead of this there is a command \n to print in a single line print(“hello python\n hello world\n hello linux”)
    hello python
    hello world
    hello linux

String concatenation – joining of two or more strings

print("kar"+"sha") run the program

karsha

print("kar"+" "+"sha") run the program

kar sha

if the ” or(or) missed it will indicate syntax error

Indentation error– if we add space or tab before print it will show indentation error

# is used for the comments which is for the user reference and shortcut by ctrl + /

Input function

input()

input(“what is your name?”) run the program

what is your name? karthikeyan

print(“hello”+input(“what is your name?”)+”!”) run the program

first step what is your name?karthikeyan

next step hello karthikeyan!

Variables

a = “karthikeyan”

print(a) run the program

karthikeyan

to know the number of words in a variables or string is denoted by len()

print(len(a)) or print(len(“karthikeyan”) run the program

11

by getting the input also we can use length command to know the number of words

username = input(“what is your name?”)

length = len(username)

print(length)

or

print(len(input(“what is your name?”))) run the program

what is your name?karthikeyan

11

when ever we name a variable we should name in proper way to identify because it may affect in future to understand.

project of the day_band name generator

output should be like

welcome to the band name generator

whats the name of the city you born?

chennai

whats your pet name?

dog

Your band name could be chennai dog

my code

                                                                                                                                    print ("welcome to the band name generator")
a = input("whats the name of the city you born?\n")
b = input("whats your pet name?\n")
c = a+" "+b
print("Your band name could be "+ c)                                                    

Python a new beginning DAY-1(9-9-2024)

9 September 2024 at 16:08

I’ve started learning Python from scratch and purchased a course on Udemy from Dr. Angela Yu(100days of code). I’ve installed both python and PyCharm for practice and Thonny to see how code is debugged.

print(“”) ()-parentheses

  • print(“hello python”) run the program
    hello python
  • print(“hello python”)
    print(“hello world”)
    print(“hello linux”) run the program
    hello python
    hello world
    hello linux
    instead of this there is a command \n to print in a single line print(“hello python\n hello world\n hello linux”)
    hello python
    hello world
    hello linux

String concatenation – joining of two or more strings

print("kar"+"sha") run the program

karsha

print("kar"+" "+"sha") run the program

kar sha

if the ” or(or) missed it will indicate syntax error

Indentation error– if we add space or tab before print it will show indentation error

# is used for the comments which is for the user reference and shortcut by ctrl + /

Input function

input()

input(“what is your name?”) run the program

what is your name? karthikeyan

print(“hello”+input(“what is your name?”)+”!”) run the program

first step what is your name?karthikeyan

next step hello karthikeyan!

Variables

a = “karthikeyan”

print(a) run the program

karthikeyan

to know the number of words in a variables or string is denoted by len()

print(len(a)) or print(len(“karthikeyan”) run the program

11

by getting the input also we can use length command to know the number of words

username = input(“what is your name?”)

length = len(username)

print(length)

or

print(len(input(“what is your name?”))) run the program

what is your name?karthikeyan

11

when ever we name a variable we should name in proper way to identify because it may affect in future to understand.

project of the day_band name generator

output should be like

welcome to the band name generator

whats the name of the city you born?

chennai

whats your pet name?

dog

Your band name could be chennai dog

my code

                                                                                                                                    print ("welcome to the band name generator")
a = input("whats the name of the city you born?\n")
b = input("whats your pet name?\n")
c = a+" "+b
print("Your band name could be "+ c)                                                    

Day5 feb7- Linux commands

20 February 2024 at 15:21

uname

  • uname will provide the complete system information
  • uname – a will provide the complete info as hostname, release version, kernel version, hardware details
  • uname – s only the kernel information
  • uname – r kernel OS release

uptime

  • uptime to know active time of system from start or else from restart
  • uptime – p(pretty command) to know only the time
  • uptime – s to show when system rebooted or else when switched on

pwd(present working directory)

  • pwd to know the current working directory

mkdir(make directory)

  • mkdir to create a directory(folder),it can able to create one or more directory
  • mkdir – v(verbose) it will pop-up that a directory is created without “v” also we can use but the pop-up wont intimate so we need to check whether it had created or not.
  • mkdir {ccc.txt,vvv.txt,mmm.txt} this will also show the files
  • mkdir -p(parent directory) used to create a parent directory and sub directory will create below this for eg: mkdir -p -v parent/dad/mom in this command -v is used to confirm whether the directory are created properly
  • rmdir remove directory. if the directory is empty only it can able to delete other than that it won’t delete.

cd(change directory)

  • cd it will redirect to home page if we press cd alone,cd..will step one step back from where we are.cd../..will back to the user

locate

  • locate (filename)to find the file quickly if we know the correct name before that we need to enter sudo updatedb (this is an utility compulsory use before locating some files)

who

  • who will show who had login and when it had login as well as the ip address.
  • who – r to know the run level (there are 6 run levels and it will show the current run level)
  • who – b to know when system booted

wc(word count)

  • wc-file name will show the number of lines, number of words and number of bytes(bytes means which count the words ,space and numbers)
  • wc-l to know only the number of lines
  • wc-c to know the number of bytes
  • wc-m to know the number of characters

cp(copy)

  • cp to copy file or directory for eg: cp ccc.txt(current file name) vvv.txt(the out put file name) this is used to copy inside a directory . if we need to copy to directory eg: cp ccc.txt directory1/.to copy one directory to another we need to use cp -r(to perform aggressively as the directory may contains files so we need to add this eg: cp -r vvv/ rrr/

mv(move)to rename the file as well as to move the file

  • mv to rename the file in directory eg: mv ccc.txt vvv.txt the file name will be changed , to move the file mv vvv.txt (directory address)

Day4 feb-6 intro to Linux commands

20 February 2024 at 13:41

The class went quickly because I was late by 10 minutes. The instructor spoke quickly, but would pause occasionally to ask if anyone had questions. After a few moments of silence, he would continue. It seemed like he had a lot of experience with the material, which made it easier for him to teach. After watching the recorded video on YouTube and practicing, I understood the 9 command points that were taught during the class.

ls-List command

  • ls which show all the files in the directory
  • ls-l (long listing) which show the complete detail of size,time,who created ,etc,.in the directory
  • ls-a will show the hidden file in the directory
  • ls-al will show the hidden file with detail of size,time,who created ,etc,.in the directory
  • ls-lh will list as per human reading as the -l will show in machine understanding format or else we need to calculate
  • ls-lS will sort the files by size in the directory
  • ls-it will show the latest file in the particular directory
  • ls-lSh will sort the files by size as per human readable in the directory
  • ls-R regressively show all files in tree structure

whoami command

  • whoami to know the user name
  • sudo useradd (name) to add additional user name
  • sudo su -(name) to change the user name

host name

  • hostname to know the system name
  • hostname -i to know in number format that is ip number
  • sudo hostname (name) to change the host name

date

  • date to know the date
  • date –date=”3years ago” to know the date three years ago this can be modified as per our requirement
  • date –date=“tomorrow”/“next wed”/“1 year” to know the requirements

cat

  • cat to view the text content
  • cat>(name.txt) to create and write a text document after completing the file ctrl+d to exit.
  • cat it can be able to open multiple .txt file in a directory for that the example is cat text.txt name.txt colour.txt
  • cat -e to show where the enter buttons are used.

echo

  • echo to print the file, it can print the file in( “aaa”,’aaa’,aaa(without quote))any format

history

  • history to view the list of commands used before
  • ! after entering the history command press ! to view a particular command number
  • history | head to view first ten commands
  • history | tail to view latest 10 commands
  • history – c to delete all commands(but don’t use this as we may need in future)

rm

  • rm to remove particular file (this will delete it permanently)
  • rm – i to remove the file but will acknowledge before deleting it.
  • rm – r to remove the complete directory.
  • rm -.txt to remove all files belong to .txt file

manual page

  • man (command) will show the command use and the sub commands that are interconnected with it. Z&W to scroll (Z)down&(W)up.

Day5 feb7- Linux commands

20 February 2024 at 15:21

uname

  • uname will provide the complete system information
  • uname – a will provide the complete info as hostname, release version, kernel version, hardware details
  • uname – s only the kernel information
  • uname – r kernel OS release

uptime

  • uptime to know active time of system from start or else from restart
  • uptime – p(pretty command) to know only the time
  • uptime – s to show when system rebooted or else when switched on

pwd(present working directory)

  • pwd to know the current working directory

mkdir(make directory)

  • mkdir to create a directory(folder),it can able to create one or more directory
  • mkdir – v(verbose) it will pop-up that a directory is created without “v” also we can use but the pop-up wont intimate so we need to check whether it had created or not.
  • mkdir {ccc.txt,vvv.txt,mmm.txt} this will also show the files
  • mkdir -p(parent directory) used to create a parent directory and sub directory will create below this for eg: mkdir -p -v parent/dad/mom in this command -v is used to confirm whether the directory are created properly
  • rmdir remove directory. if the directory is empty only it can able to delete other than that it won’t delete.

cd(change directory)

  • cd it will redirect to home page if we press cd alone,cd..will step one step back from where we are.cd../..will back to the user

locate

  • locate (filename)to find the file quickly if we know the correct name before that we need to enter sudo updatedb (this is an utility compulsory use before locating some files)

who

  • who will show who had login and when it had login as well as the ip address.
  • who – r to know the run level (there are 6 run levels and it will show the current run level)
  • who – b to know when system booted

wc(word count)

  • wc-file name will show the number of lines, number of words and number of bytes(bytes means which count the words ,space and numbers)
  • wc-l to know only the number of lines
  • wc-c to know the number of bytes
  • wc-m to know the number of characters

cp(copy)

  • cp to copy file or directory for eg: cp ccc.txt(current file name) vvv.txt(the out put file name) this is used to copy inside a directory . if we need to copy to directory eg: cp ccc.txt directory1/.to copy one directory to another we need to use cp -r(to perform aggressively as the directory may contains files so we need to add this eg: cp -r vvv/ rrr/

mv(move)to rename the file as well as to move the file

  • mv to rename the file in directory eg: mv ccc.txt vvv.txt the file name will be changed , to move the file mv vvv.txt (directory address)

Day4 feb-6 intro to Linux commands

20 February 2024 at 13:41

The class went quickly because I was late by 10 minutes. The instructor spoke quickly, but would pause occasionally to ask if anyone had questions. After a few moments of silence, he would continue. It seemed like he had a lot of experience with the material, which made it easier for him to teach. After watching the recorded video on YouTube and practicing, I understood the 9 command points that were taught during the class.

ls-List command

  • ls which show all the files in the directory
  • ls-l (long listing) which show the complete detail of size,time,who created ,etc,.in the directory
  • ls-a will show the hidden file in the directory
  • ls-al will show the hidden file with detail of size,time,who created ,etc,.in the directory
  • ls-lh will list as per human reading as the -l will show in machine understanding format or else we need to calculate
  • ls-lS will sort the files by size in the directory
  • ls-it will show the latest file in the particular directory
  • ls-lSh will sort the files by size as per human readable in the directory
  • ls-R regressively show all files in tree structure

whoami command

  • whoami to know the user name
  • sudo useradd (name) to add additional user name
  • sudo su -(name) to change the user name

host name

  • hostname to know the system name
  • hostname -i to know in number format that is ip number
  • sudo hostname (name) to change the host name

date

  • date to know the date
  • date –date=”3years ago” to know the date three years ago this can be modified as per our requirement
  • date –date=“tomorrow”/“next wed”/“1 year” to know the requirements

cat

  • cat to view the text content
  • cat>(name.txt) to create and write a text document after completing the file ctrl+d to exit.
  • cat it can be able to open multiple .txt file in a directory for that the example is cat text.txt name.txt colour.txt
  • cat -e to show where the enter buttons are used.

echo

  • echo to print the file, it can print the file in( “aaa”,’aaa’,aaa(without quote))any format

history

  • history to view the list of commands used before
  • ! after entering the history command press ! to view a particular command number
  • history | head to view first ten commands
  • history | tail to view latest 10 commands
  • history – c to delete all commands(but don’t use this as we may need in future)

rm

  • rm to remove particular file (this will delete it permanently)
  • rm – i to remove the file but will acknowledge before deleting it.
  • rm – r to remove the complete directory.
  • rm -.txt to remove all files belong to .txt file

manual page

  • man (command) will show the command use and the sub commands that are interconnected with it. Z&W to scroll (Z)down&(W)up.

Linux an introduction and installation from 1st to 3rd feb

7 February 2024 at 18:52

       After a long time, I’ve decided to step into the learning field again, this time focusing on Linux. A friend, Srini Anna, suggested reading a book on Linux, but at that time, I was unsure about what to do. Eventually, Srini Anna advised me to attend a free class, which could potentially shape my career from mechanical to software / IT fields.

        On February 1st, 2024, the first class for Linux was announced. I had used Linux before, but only as a Windows user with available Linux themes. The class began with an introduction by Srinivasan and ended with the same.

        The next day, February 2nd, 2024, was the installation class. Many attendees were unfamiliar with installing Ubuntu, as there are numerous varieties of Linux. I had already installed Mint while purchasing the laptop from Dhanasekar(srini anna friend). Hence, I observed others, particularly Windows users who used virtual box for Linux.

       On the third day, February 3rd, 2024, attendees shared their screens, demonstrating how they installed virtual box and various Linux flavors. Many participants, like me, watched others’ actions, but none were ready to install Linux as a separate OS, preferring the convenience of virtual box. This virtual box feature is also available in Mac OS.

       On the third day of the class, they advised us to write a daily blog about what we learned and what we did during our learning journey. This could be beneficial for our career growth. They recommended using blog tools like WordPress for this purpose.

       Throughout the installation process, a question raised in my mind: Can I run Windows on Linux OS with any virtual box? I haven’t asked the mentors yet, but I plan to before the session ends.

        Finally, on Saturday, February 3rd, 2024, all installation processes were completed. Dhanasekar mentioned that we would start learning Linux commands from Tuesday. In the meantime, those who hadn’t installed Linux would reach out to Dhanasekar for assistance. I’m curious to see how the class will progress.

HTML easy learning with basic keypoints.

31 January 2022 at 16:09

It took me a few days to learn HTML for myself.I had shared some tags that could be for my future reference .

HTML (Hyper Text Markup Language) which is used for creating pages that are displayed on web pages.Refere the web https://www.w3schools.com/html for English and https://freetamilebooks.com/ebooks/html-in-tamil/ for tamil in detail.I’m here for easy sharing.

The basic thing in HTML programming language is Each tag has an open and end tag . In special cases, the end tag is not used

*<html> – this tag is used to denote the program what we are going to run and the end tag </html> used for closing the html program

*<body> </body> – which contains all tags in between the body tags

*<head></head> – to represent browser head

*<title></title> – to represent the title head

*<p></p> – to start the paragraph

*<palign=left/right/centre> to make the para location area

*<br> – to break the line or give space between two tags (no need end tag)

*<h1><h2><h3><h4><h5><h6> these used for headings

*<b></b>for bold

<u></u>for underline

<i></i>for italic

<strike>to strike the content

<ins></ins> – Inserted text(which shows the newly inserted content with underline)

<del></del> – Deleted text(same as stike)

<mark></mark> – Marked text(highlited with colour)

 <em> </em>– Emphasized text(variation in text)

*<big></big><small></small> to represent size of the letters

*<font color=”colour”></font> for the font colour

*<font size=1></font> for size of font

*<font color=”colour” size=1 face=”arial” > for the above two with style of font

*<sup></sup> superscript to represent a1

*<sub></sub> subscript to represent a1

*<pre></pre> preservative script to show as it as the written statement

*https://www.w3schools.com/charsets/ref_utf_currency.asp for currency refernce

*https://www.w3schools.com/charsets/ref_emoji.asp for emoji reference

*https://www.w3schools.com/charsets/ref_emoji_skin_tones.asp for emoji skin tone

*https://www.w3schools.com/charsets/ref_emoji_smileys.asp for smiley faces

*https://www.w3schools.com/charsets/ref_utf_punctuation.asp for punctuation reference

*https://www.w3schools.com/charsets/ref_utf_letterlike.asp for special character

*https://www.w3schools.com/charsets/ref_utf_arrows.asp for different arrow symbol

*https://www.w3schools.com/charsets/ref_utf_math.asp for math

*https://www.w3schools.com/charsets/ref_utf_geometric.asp for geometric reference

*https://www.w3schools.com/charsets/ref_utf_symbols.asp for symbols

*https://www.w3schools.com/charsets/ref_utf_dingbats.asp for symbols

*https://www.w3schools.com/charsets/ref_html_entities_4.asp for entites for eg;

&copy; result =©

List –The term list itself refers to the creation of a list.

Lists are three types ordered,unordered,definition

*ordered <ol></ol> which have subtag and need to be included every time <li></li> for list index(for numeric values)

*unordered<ul></ul>which have subtag and need to be included every time <li></li> for list index(for symbols)

*definition <dl></dl>which have title tag as <dt></dt> and <dd></dd>for title data

*to make variation in styles other than black dots in unordered list

<ul style=”list-style-type:disc;”>

<ul style=”list-style-type:none;”>

<ul style=”list-style-type:square;”>

<ul style=”list-style-type:circle;”>

*to make variation in styles other than numbers in ordered list

<ol type=”1″>

<ol type=”A”>

<ol type=”a”>

<ol type=”I”>

<ol type=”i”>

Tables-The table shows a tabular list of the specified data

Tables is defined by a <table></table>

th – stands for table head

tr -stands for table row.<tr></tr>

td stands for table data.<td></td>

for table program starts like this

<table>

<tr>

<th>content<th>(number of heading required need to add like this>

<tr>

<tr>

<td>content<td>(number of data required need to add like this>

<tr>

</table>

this wont create exterior table only the data will be shown.

For complete table with border and data

<table border > need to be added instead of table

<table border width=”value” height=”value”>

<tr>

<th>content<th>(number of heading required need to add like this>

<tr>

<tr>

<td>content<td>(number of data required need to add like this>

<tr>

</table>

Links-to link the path internal as well as external

<a> tag defines a hyperlink

<a href=”url“>link text</a>

for internal link-which interconnect with the internal programing .html link

<a href=”book from him.html”> na muthukumar books</a>

<a href=”#bottom”> Goto Bottom</a>

<p> A big para goes here </p>

<a name=”bottom”></a>

for external link-which connect with the external websites

target=”_blank” tag used to open in new web page

<a href=”http://en.wikipedia.org/wiki/Na._Muthukumar&#8221; target=”_blank” > wikipedia </a>

 

Frames-the frame tag does not required body tag

  <frameset cols=”25%,50%,25%”>  

    <frame src=”trail 2.html” >  

    <frame src=”trail3.html”>  

    <frame src=”book from him.html”>  

  </frameset>  

</html>

which is used to split the screen

<frameset cols=”30%,*”> in this case, * denotes th eremaining space.

Formwhich is represent by <form>tag

example

<form method=”post” action=”mailto:karth9840@gmail.com”> many sub tags are there and this tag help to send the submitted forms to the mentioned mail id

The HTML <form> Elements

<input>

<label>

<select>

<textarea>

<button>

<fieldset>

<legend>

<datalist>

<output>

<option>

<optgroup>

examples

<select>

<form action=”/action_page.php”>

<label for=”cars”>Choose a car:</label>

<select id=”cars” name=”cars”>

  <option value=”volvo”>Volvo</option>

  <option value=”saab”>Saab</option>

  <option value=”fiat”>Fiat</option>

  <option value=”audi”>Audi</option>

</select>

if we need size to display

<select id=”cars” name=”cars” size=”3″>

to select more than one value

  <select id=”cars” name=”cars” size=”4″ multiple></select>

  <button>

<h2>The button Element</h2>

<button type=”button” onclick=”alert(‘Hello World!’)”>Click Me!</button>

(alert used to show a pop up message)

    </fieldset>-element is used to group related data in a form.

The <legend> element defines a caption for the <fieldset> element.

 

  <form action=”/action_page.php”>

    <fieldset>

     <legend>Personalia:</legend>

     <label for=”fname”>First name:</label>

     <input type=”text” id=”fname” name=”fname”><br><br>

     <label for=”lname”>Last name:</label>

     <input type=”text” id=”lname” name=”lname”><br><br>

     <label for=”email”>Email:</label>

     <input type=”email” id=”email” name=”email”><br><br>

     <label for=”birthday”>Birthday:</label>

     <input type=”date” id=”birthday” name=”birthday”><br><br>

     <input type=”submit” value=”Submit”>

    </fieldset>

   </form>

  </datalist>-element specifies a list of pre-defined options for an <input> element.

Users will see a drop-down list of the pre-defined options as they input data.

The list attribute of the <input> element, must refer to the id attribute of the <datalist> element.

<form action=”/action_page.php”>

    <input list=”browsers” name=”browser”>

    <datalist id=”browsers”>

      <option value=”Internet Explorer”>

      <option value=”Firefox”>

      <option value=”Chrome”>

      <option value=”Opera”>

      <option value=”Safari”>

    </datalist>

    <input type=”submit”>

  </form>

value

  <form action=”/action_page.php”

oninput=”x.value=parseInt(a.value)+parseInt(b.value)”>

  0

  <input type=”range” id=”a” name=”a” value=”50″>

  100 +

  <input type=”number” id=”b” name=”b” value=”50″>

  =

  <output name=”x” for=”a b”></output>

  <br><br>

  <input type=”submit”>

</form>

Input -which is represent by <input>.which usually used to collect the info from the users

some tags are

<input type="button">

<input type="checkbox">

<input type="color">

<input type="date">

<input type="datetime-local">

<input type="email">

<input type="file">

<input type="hidden">

<input type="image">

<input type="month">

<input type="number">

<input type="password">

<input type="radio">

<input type="range">

<input type="reset">

<input type="search">

<input type="submit">

<input type="tel">

<input type="text">

<input type="time">

<input type="url">

<input type="week">

for radio tags

<form action=”/trail.html”>

        <input type=”radio” id=”html” name=”fav_language” value=”HTML”>

        <label for=”html”>HTML</label><br>

        <input type=”radio” id=”css” name=”fav_language” value=”CSS”>

        <label for=”css”>CSS</label><br>

        <input type=”radio” id=”javascript” name=”fav_language” value=”JavaScript”>

        <label for=”javascript”>JavaScript</label><br><br>

        <input type=”submit” value=”Submit”>

      </form>

for check box

<form>

  <input type=”checkbox” id=”vehicle1″ name=”vehicle1″ value=”Bike”>

  <label for=”vehicle1″> I have a bike</label><br>

  <input type=”checkbox” id=”vehicle2″ name=”vehicle2″ value=”Car”>

  <label for=”vehicle2″> I have a car</label><br>

  <input type=”checkbox” id=”vehicle3″ name=”vehicle3″ value=”Boat”>

  <label for=”vehicle3″> I have a boat</label>

</form>

for reset

<form action=”/action_page.php”>

  <label for=”fname”>First name:</label><br>

  <input type=”text” id=”fname” name=”fname” value=”John”><br>

  <label for=”lname”>Last name:</label><br>

  <input type=”text” id=”lname” name=”lname” value=”Doe”><br><br>

  <input type=”submit” value=”Submit”>

  <input type=”reset”>

</form>

for submit

<form action=”/action_page.php”>

  <label for=”fname”>First name:</label><br>

  <input type=”text” id=”fname” name=”fname” value=”John”><br>

  <label for=”lname”>Last name:</label><br>

  <input type=”text” id=”lname” name=”lname” value=”Doe”><br><br>

  <input type=”submit” value=”Submit”>

</form>

for button

<input type=”button” onclick=”alert(‘Hello World!’)” value=”Click Me!”> (which provides pop feature with “onclick”=alert)

Input Restrictions

checked-Specifies that an input field should be pre-selected when the page loads (for type=”checkbox” or type=”radio”)

disabledSpecifies that an input field should be disabled

maxSpecifies the maximum value for an input field

maxlengthSpecifies the maximum number of character for an input field

minSpecifies the minimum value for an input field

pattern-Specifies a regular expression to check the input value against

readonly-Specifies that an input field is read only (cannot be changed)

required-Specifies that an input field is required (must be filled out)

size-Specifies the width (in characters) of an input field

step-Specifies the legal number intervals for an input field

value-Specifies the default value for an input field

Examples

for min and max with step and value

<form>

  <label for=”quantity”>Quantity:</label>

  <input type=”number” id=”quantity” name=”quantity” min=”0″ max=”100″ step=”10″ value=”30″>

</form>

for range with min and max

<form>

  <label for=”vol”>Volume (between 0 and 50):</label>

  <input type=”range” id=”vol” name=”vol” min=”0″ max=”50″>

</form>

for phone number with placeholder,pattern and required

<form>

  <label for=”phone”>Enter your phone number:</label>

  <input type=”tel” id=”phone” name=”phone” placeholder=”123-45-678″ pattern=”[0-9]{3}-[0-9]{2}-[0-9]{3}” required>

</form>

MEDIA

Audio

The controls attribute adds audio controls, like play, pause, and volume.

The <source> element allows you to specify alternative audio files which the browser may choose from. The browser will use the first recognized format.

The text between the <audio> and </audio> tags will only be displayed in browsers that do not support the <audio> element.

<audio controls>

<source src=”horse.ogg” type=”audio/ogg”><source src=”horse.mp3″ type=”audio/mpeg”>

Your browser does not support the audio element.

</audio>

To play automatically and for muted too with autoplay

<audio controls autoplay>

<audio controls autoplay muted>

Video

The controls attribute adds video controls, like play, pause, and volume.

It is a good idea to always include width and height attributes. If height and width are not set, the page might flicker while the video loads.

The <source> element allows you to specify alternative video files which the browser may choose from. The browser will use the first recognized format.

The text between the <video> and </video> tags will only be displayed in browsers that do not support the <video> element.

<video width=”320″ height=”240″ controls>

 <source src=”movie.mp4″ type=”video/mp4″>

  <source src=”movie.ogg” type=”video/ogg”>

Your browser does not support the video element.

</video>

To play automatically and for muted too with autoplay

<video width=”320″ height=”240″ autoplay>

<video width=”320″ height=”240″ autoplay muted>

For youtube videos

<iframe width=”420″ height=”315″

src=”https://www.youtube.com/embed/tgbNymZ7vqY”&gt;

</iframe>

For autoplay and mute

src=”https://www.youtube.com/embed/tgbNymZ7vqY?autoplay=1&mute=1″&gt;

Back to my PC. Now, for learning purposes.

12 January 2022 at 19:12

Its been a long time to use my pc . After karsha (eldest daughter) born (2017) I had reduced my use of the system. Most of the time I was doing my work with mobile because I work in the automobile industry it dosen not need in every aspect.

After many struggles purchased a PC for collegial purposes in 2009, but as usual used less for my studies and more for my games, watching films and songs. Days went by, slowly learned basic photoshop and made some photoshop retouches to my friends. After 4 years, plan and upgrade the system boards to improve the setup. At that time I started to think about learning some software like AutoCAD, pro-e, Catia, ANSYS and some editing software related to adobe but again ended with games (that was the last year (2013) which I used to play games).

  In 2016 got married, after that dismantled the whole system and kept aside due to space constraints. Now (2022) due to my spouse job , planned to use the PC with minor changes. So I updated the screen with a curved screen for her work, but she’s uncomfortable because of my young girl (Rithisha). who is only six months old and cannot take care of her while using a PC and therefore plans to use her laptop.

Meantime I used the system for my personal needs like browsing, copying, transferring and storing the files.

  Over the past two weeks, I have been at home as my production has diminished and my factory (FORD INDIA PVT LTD) will also shut down in the second quarter of 2022. In the confused time my friend SHRINIVASAN brother told me to try the IT field, I told him I was in complete different field and how I could shift immediately. He told me that he will guide me, but I need to put some efforts to achieve the goals. The HTML journey starts like this and started on 8Jan, with the reference of video and book

1. complete HTML in one hour(tamil) by Muthuramalingam(founder of Payilagam) https://www.youtube.com/watch?v=kRMarTrUzMY&list=PLgWpUXNR_WCe37IQT5Iy5wNHleKjvzssa this video is as easy as to understand the required things in HTML 2. எளிய தமிழில் HTML by nithya duraisamy from freetamilebooks.com-https://freetamilebooks.com/ebooks/html-in-tamil/

These two references have greatly helped me to understand in my own language, for the HTML language. Created a small html file for ” Na muthukumar ” my fav poet/writer on 11jan,it took three days as i spend only 1-2 hours per day.After getting the confident in HTML going to CSS tomorrow and will share my key points of html tags and which helps me to create in next blog.

❌
❌