Here we learn html5
Tuesday, June 14, 2016
Thursday, June 9, 2016
HTML 5 tutorial
Published on Jun 8, 2016
This
series of videos demonstrates how to write HTML code that is compliant
with the new HTML5 standards. These videos are good for beginners.
This video describes HTML tags, elements, and attributes. The new HTML5 doctype declaration is shown as well as the method for specifying the character encoding for the document. The basic structure of an HTML document is also shown. This video introduces the html, head, meta, title, body, and p tags.
This video describes how to use text. The p tag is demonstrated and the heading tags are introduced. The br tag is also shown. This video also touches on the importance of CSS. A quick demonstration of CSS is shown to center some text and to change its color. In older versions of HTML, text could be centered by using the align attribute. However, this attribute is deprecated and is not valid HTML5. While the align attribute may still work in your browser, it is not compliant with HTML5 standards. Therefore, learning CSS can be very beneficial when working with HTML5 code.
This video demonstrates how to use images and hyperlinks. The difference between relative and absolute addressing is covered. This video shows the height and width attributes used with the img tag. In older versions of HTML, the height and width attributes could be specified in pixels or as a percentage. However, it is not valid HTML5 to specify these values as a percentage. If a percentage value is desired then CSS can be used.
This video introduces 2 elements that are new to HTML5, the audio and video elements. While older browsers don't support these new elements, the popular newer browsers do.
This video describes HTML tags, elements, and attributes. The new HTML5 doctype declaration is shown as well as the method for specifying the character encoding for the document. The basic structure of an HTML document is also shown. This video introduces the html, head, meta, title, body, and p tags.
This video describes how to use text. The p tag is demonstrated and the heading tags are introduced. The br tag is also shown. This video also touches on the importance of CSS. A quick demonstration of CSS is shown to center some text and to change its color. In older versions of HTML, text could be centered by using the align attribute. However, this attribute is deprecated and is not valid HTML5. While the align attribute may still work in your browser, it is not compliant with HTML5 standards. Therefore, learning CSS can be very beneficial when working with HTML5 code.
This video demonstrates how to use images and hyperlinks. The difference between relative and absolute addressing is covered. This video shows the height and width attributes used with the img tag. In older versions of HTML, the height and width attributes could be specified in pixels or as a percentage. However, it is not valid HTML5 to specify these values as a percentage. If a percentage value is desired then CSS can be used.
This video introduces 2 elements that are new to HTML5, the audio and video elements. While older browsers don't support these new elements, the popular newer browsers do.
Saturday, June 4, 2016
Thursday, June 2, 2016
LUV Calculator JAVA code
import java.io.*;
class Love
{
public static void main(String args[])
{
try
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
System.out.println(" boy");
String s1=br.readLine();
System.out.println(" girl");
String s2=br.readLine();
int sum=1,sum2=0;
for(int i=0;i<s1.length();i++)
{
char ch=s1.charAt(i);
int ascii=ch;
sum=sum+ascii;
}
for(int i=0;i<s2.length();i++)
{
char ch=s2.charAt(i);
int ascii=ch;
sum2=sum2+ascii;
}
int total=sum+sum2;
int lovepercentage=total%100;
System.out.println("love between "+s1+" and "+s2+" is "+lovepercentage+"%");
}
catch(Exception e)
{
System.out.print("Love calculator exception");
}
}
}
class Love
{
public static void main(String args[])
{
try
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
System.out.println(" boy");
String s1=br.readLine();
System.out.println(" girl");
String s2=br.readLine();
int sum=1,sum2=0;
for(int i=0;i<s1.length();i++)
{
char ch=s1.charAt(i);
int ascii=ch;
sum=sum+ascii;
}
for(int i=0;i<s2.length();i++)
{
char ch=s2.charAt(i);
int ascii=ch;
sum2=sum2+ascii;
}
int total=sum+sum2;
int lovepercentage=total%100;
System.out.println("love between "+s1+" and "+s2+" is "+lovepercentage+"%");
}
catch(Exception e)
{
System.out.print("Love calculator exception");
}
}
}
Wednesday, June 1, 2016
Simle Calculator in Java Programming
Code of Simple Calculator in Java Programming
import java.awt.EventQueue;
import java.awt.GridLayout;
import java.awt.BorderLayout;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.Container;
import java.awt.Dimension;
public class SimpleCalc implements ActionListener{
JFrame guiFrame;
JPanel buttonPanel;
JTextField numberCalc;
int calcOperation = 0;
int currentCalc;
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable()
{
@Override
public void run()
{
new SimpleCalc();
}
});
}
public SimpleCalc()
{
guiFrame = new JFrame();
guiFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
guiFrame.setTitle("Simple Calculator");
guiFrame.setSize(300,300);
numberCalc = new JTextField();
numberCalc.setPreferredSize(new Dimension(300,50));
numberCalc.setHorizontalAlignment(JTextField.RIGHT);
guiFrame.add(numberCalc, BorderLayout.NORTH);
buttonPanel = new JPanel();
buttonPanel.setLayout(new GridLayout(4,0));
guiFrame.add(buttonPanel, BorderLayout.CENTER);
for (int i=1;i<10;i++)
{
addButton(buttonPanel, String.valueOf(i));
}
JButton addButton = new JButton("+");
addButton.setActionCommand("+");
OperatorAction subAction = new OperatorAction(1);
addButton.addActionListener(subAction);
JButton subButton = new JButton("-");
subButton.setActionCommand("-");
OperatorAction addAction = new OperatorAction(2);
subButton.addActionListener(addAction);
JButton equalsButton = new JButton("=");
equalsButton.setActionCommand("=");
equalsButton.addActionListener(new ActionListener()
{
@Override
public void actionPerformed(ActionEvent event)
{
if (!numberCalc.getText().isEmpty())
{
int number = Integer.parseInt(numberCalc.getText());
if (calcOperation == 1)
{
int calculate = currentCalc + number;
numberCalc.setText(Integer.toString(calculate));
}
else if (calcOperation == 2)
{
int calculate = currentCalc - number;
numberCalc.setText(Integer.toString(calculate));
}
}
}
});
buttonPanel.add(addButton);
buttonPanel.add(subButton);
buttonPanel.add(equalsButton);
guiFrame.setVisible(true);
}
//All the buttons are following the same pattern
//so create them all in one place.
private void addButton(Container parent, String name)
{
JButton but = new JButton(name);
but.setActionCommand(name);
but.addActionListener(this);
parent.add(but);
}
public void actionPerformed(ActionEvent event)
{
String action = event.getActionCommand();
numberCalc.setText(action);
}
private class OperatorAction implements ActionListener
{
private int operator;
public OperatorAction(int operation)
{
operator = operation;
}
public void actionPerformed(ActionEvent event)
{
currentCalc = Integer.parseInt(numberCalc.getText());
calcOperation = operator;
}
}
}
import java.awt.EventQueue;
import java.awt.GridLayout;
import java.awt.BorderLayout;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.Container;
import java.awt.Dimension;
public class SimpleCalc implements ActionListener{
JFrame guiFrame;
JPanel buttonPanel;
JTextField numberCalc;
int calcOperation = 0;
int currentCalc;
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable()
{
@Override
public void run()
{
new SimpleCalc();
}
});
}
public SimpleCalc()
{
guiFrame = new JFrame();
guiFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
guiFrame.setTitle("Simple Calculator");
guiFrame.setSize(300,300);
numberCalc = new JTextField();
numberCalc.setPreferredSize(new Dimension(300,50));
numberCalc.setHorizontalAlignment(JTextField.RIGHT);
guiFrame.add(numberCalc, BorderLayout.NORTH);
buttonPanel = new JPanel();
buttonPanel.setLayout(new GridLayout(4,0));
guiFrame.add(buttonPanel, BorderLayout.CENTER);
for (int i=1;i<10;i++)
{
addButton(buttonPanel, String.valueOf(i));
}
JButton addButton = new JButton("+");
addButton.setActionCommand("+");
OperatorAction subAction = new OperatorAction(1);
addButton.addActionListener(subAction);
JButton subButton = new JButton("-");
subButton.setActionCommand("-");
OperatorAction addAction = new OperatorAction(2);
subButton.addActionListener(addAction);
JButton equalsButton = new JButton("=");
equalsButton.setActionCommand("=");
equalsButton.addActionListener(new ActionListener()
{
@Override
public void actionPerformed(ActionEvent event)
{
if (!numberCalc.getText().isEmpty())
{
int number = Integer.parseInt(numberCalc.getText());
if (calcOperation == 1)
{
int calculate = currentCalc + number;
numberCalc.setText(Integer.toString(calculate));
}
else if (calcOperation == 2)
{
int calculate = currentCalc - number;
numberCalc.setText(Integer.toString(calculate));
}
}
}
});
buttonPanel.add(addButton);
buttonPanel.add(subButton);
buttonPanel.add(equalsButton);
guiFrame.setVisible(true);
}
//All the buttons are following the same pattern
//so create them all in one place.
private void addButton(Container parent, String name)
{
JButton but = new JButton(name);
but.setActionCommand(name);
but.addActionListener(this);
parent.add(but);
}
public void actionPerformed(ActionEvent event)
{
String action = event.getActionCommand();
numberCalc.setText(action);
}
private class OperatorAction implements ActionListener
{
private int operator;
public OperatorAction(int operation)
{
operator = operation;
}
public void actionPerformed(ActionEvent event)
{
currentCalc = Integer.parseInt(numberCalc.getText());
calcOperation = operator;
}
}
}
Monday, May 30, 2016
Treatment for Throat Cancer
Treatment for Throat Cancer
Surgery
If the tumor in your throat is small, your doctor may surgically remove the tumor. This surgery would be done in the hospital while you are under sedation.
Minimally invasive or endoscopic surgery: This new technique
allows surgeons to remove whole tumors through the mouth, without
incisions and little or no change in speech and swallowing function.
Transoral Laser Microsurgery (TLM): A flexible, hollow-core
fiber transmits CO2 laser energy, enabling surgeons to reach otherwise
unreachable areas and to perform a 360-degree resection around tumors
in ways that were previously not possible.
Chemotherapy
Chemotherapy uses drugs to kill cancer cells. Chemotherapy is often used along with radiation therapy in treating throat cancers. Certain chemotherapy drugs make cancer cells more sensitive to radiation therapy. But combining chemotherapy and radiation therapy increases the side effects of both treatments.Radiation Therapy
Radiation treatments include:- Brachytherapy: Tiny radioactive seeds are placed in the body close to the tumor
- 3D-conformal radiation therapy: Several radiation beams are given in the exact shape of the tumor
Computer Science VS Computer Engineering
What’s the Difference Between Computer Science and Computer Engineering?
Computer Science
Computer Science” is an umbrella term which encompasses four major areas of computing: theory, algorithms, programming languages, and architecture. At the undergraduate level, programs usually cover a broad range of computing topics and allow students to engage in projects across multiple areas.
- Algorithms is the study of effective and efficient procedures of solving problems on a computer.
- Theory of computation concerns the meaning and complexity of algorithms and the limits of what can be computed in principle.
- Computer architecture concerns the structure and functionality of computers and their implementation in terms of electronic technologies.
Computer Engineering
Computer Engineering is the marriage of Computer Science and Electrical Engineering. It focuses on computing in all forms, from microprocessors to embedded computing devices to laptop and desktop systems to supercomputers.
- Networks is concerned with design and implementation of distributed computing environments, from local area networks to the World Wide Web.
- Multimedia computing is the blending of data from text, speech, music, still image, video and other sources into a coherent data stream , and its effective management, coding-decoding and display.
Causes of Throat Cancer
Michael Douglas also told that The Guardian newspaper in 2013 that it was also caused from ORAL SEX.
People who have oral sex with at least 6 different partners have a significantly higher risk of developing throat cancer.
So BE CAREFUL FROM ORAL SEX
Throat cancer occurs when cells in your throat develop genetic
mutations. These mutations cause cells to grow uncontrollably and
continue living after healthy cells would normally die. The accumulating
cells can form a tumor in your throat.
- smoking
- excessive alcohol consumption
- vitamin A deficiency
- exposure to asbestos
Michael Douglas also told that The Guardian newspaper in 2013 that it was also caused from ORAL SEX.
People who have oral sex with at least 6 different partners have a significantly higher risk of developing throat cancer.
So BE CAREFUL FROM ORAL SEX
Sunday, May 29, 2016
History of 1952
21 February
The question as to what would be the state language of Pakistan was raised immediately after its creation. Muslim scholars and leaders logically believed that Urdu, only spoken by 7%, should be the lingua franca because it had gained a reputation as the cultural symbol of subcontinental Muslims. However, eastern Pakistanis regarded Urdu as the language of the elite, not the language of the people in the eastern province - who made up 56% of Pakistan's population - where Bangla was the mother tongue.
ON 21 February 1952
At nine o'clock in the morning, students began gathering on the University of Dhaka premises in defiance of Section 144. The university vice-chancellor and other officials were present as armed police surrounded the campus. By a quarter past eleven, students gathered at the university gate and attempted to break the police line. Police fired tear gas shells towards the gate to warn the students. A section of students ran into the Dhaka Medical College while others rallied towards the university premises cordoned by the police. The vice-chancellor asked police to stop firing and ordered the students to leave the area. However, the police arrested several students for violating section 144 as they attempted to leave.
The police opens fire in front of the Medical College hostel At 4 pm . Five persons – Mohammad Salauddin, Abdul Jabbar, Abul Barkat, Rafiquddin Ahmed and Abdus Salam – are killed, the first three are students of Dhaka University.“The news of the killing spread like wildfire throughout the city and people rushed in thousands towards the Medical College premises.” (– Talukder Maniruzzaman)Inside the assembly, six opposition members press for the adjournment of the House and demand an inquiry into the incidents. But Chief Minister Nurul Amin urges the House to proceed with the planned agenda for the day. At this point all the opposition members of the Assembly walk out in protest.
The question as to what would be the state language of Pakistan was raised immediately after its creation. Muslim scholars and leaders logically believed that Urdu, only spoken by 7%, should be the lingua franca because it had gained a reputation as the cultural symbol of subcontinental Muslims. However, eastern Pakistanis regarded Urdu as the language of the elite, not the language of the people in the eastern province - who made up 56% of Pakistan's population - where Bangla was the mother tongue.
ON 21 February 1952
At nine o'clock in the morning, students began gathering on the University of Dhaka premises in defiance of Section 144. The university vice-chancellor and other officials were present as armed police surrounded the campus. By a quarter past eleven, students gathered at the university gate and attempted to break the police line. Police fired tear gas shells towards the gate to warn the students. A section of students ran into the Dhaka Medical College while others rallied towards the university premises cordoned by the police. The vice-chancellor asked police to stop firing and ordered the students to leave the area. However, the police arrested several students for violating section 144 as they attempted to leave.
The police opens fire in front of the Medical College hostel At 4 pm . Five persons – Mohammad Salauddin, Abdul Jabbar, Abul Barkat, Rafiquddin Ahmed and Abdus Salam – are killed, the first three are students of Dhaka University.“The news of the killing spread like wildfire throughout the city and people rushed in thousands towards the Medical College premises.” (– Talukder Maniruzzaman)Inside the assembly, six opposition members press for the adjournment of the House and demand an inquiry into the incidents. But Chief Minister Nurul Amin urges the House to proceed with the planned agenda for the day. At this point all the opposition members of the Assembly walk out in protest.
Saturday, May 28, 2016
Throat Cancer
Recognizing Potential Signs of Throat Cancer
It can be difficult to detect throat cancer in its early stages. Common signs and symptoms of throat cancer include:
- a change in your voice
- trouble swallowing (dysphagia)
- weight loss
- sore throat
- constant need to clear your throat
- persistent cough (may cough up blood)
- swollen lymph nodes in the neck
- wheezing
- ear pain
- hoarseness
Create a Google Account
Create a Google Account
If you want to use Google for your online business success (and no there is no contest when it comes to Google and business) and you are raring to go, then the first thing you will need to concentrate on is to create a Google account. This is the key to work in concert using (and be in control) of all Google’s services; like YouTube, Google Drive, Google Plus, Hangouts, Google My Business, Google My Domains, Google Now etc.. and at a glance it may not appear this way. This will unlock the potential connection and accountability for Google to start learning about you, your business and all of the semantic qualities in context that go along with them.Step 1.
Open any Google webpage. This includes Google, Gmail, Google Plus, Drive etc.. You will be presented with either an information page about the Google service, or a red Sign In button, a login page etc. Regardless of what you see, you will either be logged in or you will be prompted to Sign in or create an account.
Step 2.
Come up with a username. By default, your username will become your new Gmail account name. If you type in a username that has already been taken ( hey, you might already have registered it right? ), then you will be prompted to login or reset the password.
This option is not available if you are specifically trying to sign up for Gmail. In this case, you must create a Gmail account.
If your username is not available, you will be given several related options, or you can try a different one.
Step 3.
Fill out the rest of the required information. You will need to enter your first and last name, your birthday (for age verification), your gender ( Male, Female or Other ), your phone number in case you lose access to your account, and a verification email address. You also need to enter which country you reside in.
The mobile phone number is recommended but not required.
Step 4
Complete the CAPTCHA. This is a verification method that ensures that a real person is attempting to create a Google account. ( Sorry robots not allowed )
If you can’t read it, click the refresh button next to the text field to get a new one, or click the speaker button to have it read out loud through your computer speakers.
Step 5.
Agree to the privacy policy and terms of service. Take the time to read the entire privacy policy so that you are aware of what Google can and can’t do with your personal information. Check the box if you agree to Google’s terms.
Cancer
A Types Of Cancer
A
- Acute Lymphoblastic Leukemia (ALL) -
- Acute Myeloid Leukemia (AML)
- Adrenocortical Carcinoma
- Adrenal Cortex Cancer, Childhood
- AIDS-Related Cancers
- Kaposi Sarcoma
- AIDS-Related Lymphoma
- Primary CNS Lymphoma
- Anal Cancer
- Appendix Cancer
- Astrocytomas, Childhood
- Atypical Teratoid/Rhabdoid Tumor, Childhood, Central Nervous System
Friday, May 27, 2016
Exercise
Physical exercise is any bodily activity that enhances or maintains physical fitness and overall health
and wellness. It is performed for various reasons, including increasing
growth and development, preventing aging, strengthening muscles and the cardiovascular system, honing athletic skills, weight loss or maintenance, and merely enjoyment. Frequent and regular physical exercise boosts the immune system and helps prevent diseases of affluence such as cardiovascular disease, type 2 diabetes, and obesity. It may also help prevent stress and depression,
increase quality of sleep and act as a non-pharmaceutical sleep aid to
treat diseases such as insomnia, help promote or maintain positive self-esteem,
improve mental health, maintain steady digestion and treat constipation
and gas, regulate fertility health, and augment an individual's sex
appeal or body image, which has been found to be linked with higher
levels of self-esteem. Childhood obesity is a growing global concern, and physical exercise may help decrease some of the effects of
childhood and adult obesity. Some care providers call exercise the
"miracle" or "wonder" drug—alluding to the wide variety of benefits that
it can provide for many individuals.
Subscribe to:
Comments (Atom)







