WSMT Lab Manual-2210520137
WSMT Lab Manual-2210520137
LAB WORKBOOK
22CA1209 – Web Social Media & Technology
Output:
1
Page
th {
background-color: #ddd;
}
</style>
</head>
<body>
<h1>Time Table</h1>
<table>
<thead>
<tr>
<th>Time</th>
<th>8:15 AM - 9:05 AM</th>
<th>9:05 AM - 9:55 AM</th>
<th>9:55 AM - 10:45 AM</th>
3
<td bgcolor=Brown>LIBRARY</td>
</tbody>
Page
</table>
Experiment 4: Construct a Home page for an online book store web site
Code:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>BookStore - Home</title>
<style>
body {
background-color: #bc61f5;
font-family: Monospaced, courier;
}
header {
background-color: #b24bf3;
border-bottom: 1px solid #ccc;
padding: 10px;
text-align: center;
}
h1 {
color: white;
font-size: 48px;
margin-top: 0;
}
h6{
color: #461257;
font-size: 12px;
text-align: right;
}
h2{
6
color: white;
Page
font-size:20px;
section {
margin-bottom: 40px;
}
footer {
background-color: #3a1b2f;
color: #fff;
padding: 10px;
text-align: center;
}
</style>
7
</head>
Page
<body>
<form action="/search">
<input type="search" placeholder="Search for your favourite book..">
<button type="submit">Search</button>
</form>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Books</a></li>
<li><a href="#">Authors</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</nav>
</header>
<main>
<section>
<h2>Welcome to BookTopia!</h2>
<p>Here at BookTopia, we offer a wide variety of books from different genres and
authors. Our collection includes both fiction and non-fiction books, as well as eBooks and
audiobooks. Our books are hand-picked by our team of experts to ensure the highest quality
and relevance.</p>
</section>
<hr>
<section>
<h2>Featured Books</h2>
<ul>
<li>
<img
src="https://upload.wikimedia.org/wikipedia/commons/7/7a/The_Great_Gatsby_Cover_1925
_Retouched.jpg" alt="The Great Gatsby">
<sub>Rs. 1,143.00</sub>
<h3>The Great Gatsby by F. Scott Fitzgerald</h3>
<p>The novel chronicles an era that Fitzgerald himself dubbed the "Jazz Age".
Following the shock and chaos of World War I, American society enjoyed unprecedented
levels of prosperity during the "roaring" 1920s as the economy soared. At the same time,
Prohibition, the ban on the sale and manufacture of alcohol as mandated by the Eighteenth
Amendment, made millionaires out of bootleggers and led to an increase in organized crime,
for example the Jewish mafia. Although Fitzgerald, like Nick Carraway in his novel, idolized
the riches and glamor of the age, he was uncomfortable with the unrestrained materialism and
the lack of morality that went with it, a kind of decadence.</p>
<a href="#">Buy now</a>
</li>
<hr>
<li>
<img src="https://m.media-amazon.com/images/I/91bYsX41DVL.jpg"
alt="Atomic Habits">
8
<sub>Rs. 799.00</sub>
Page
Output:
9
Page
body {
font-family: Times New Roman, sans-serif;
background-color: #c576f6;
}
.container {
margin: 0 auto;
max-width: 400px;
background-color:Lavender;
padding: 20px;
margin-top: 50px;
border-radius: 5px;
10
form {
display: flex;
flex-direction: column;
}
label {
font-weight: bold;
margin-bottom: 5px;
}
input[type="email"],
input[type="password"] {
padding: 10px;
border: none;
border-radius: 5px;
margin-bottom: 20px;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}
button[type="submit"] {
background-color: #593876;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
padding: 10px 20px;
margin-top: 20px;
}
</style>
<title>Login to BookTopia</title>
</head>
<body>
<div class="container">
<h1>Login to BookTopia</h1>
<form>
<label for="email">Email</label>
<input type="email" id="email" name="email" required>
<label for="password">Password</label>
<input type="password" id="password" name="password" required>
11
<button type="submit">Login</button>
</form>
Page
</div>
Output:
Experiment 6: Construct a catalogue page for online book store web site.
Code:
<!DOCTYPE html>
<html>
<style>
*{
box-sizing: border-box;
}
body {
font-family: Monospaced, courier;
background-color: #bc61f5;
}
header {
background-color: #461257;
color: white;
text-align: center;
padding: 20px;
margin-bottom: 20px;
}
h1 {
margin: 0;
}
main {
display: flex;
flex-wrap: wrap;
12
justify-content: center;
Page
.book img {
width: 200px;
height: 250px;
margin-bottom: 10px;
}
h2 {
margin-top: 0;
}
p{
margin-bottom: 5px;
}
button {
background-color: #461257;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
padding: 10px 20px;
margin-top: 20px;
}
</style>
<head>
<title>Book Catalogue</title>
</head>
<body>
<header>
<h1>Book Catalogue</h1>
</header>
<main>
<section class="book">
<img
src="https://upload.wikimedia.org/wikipedia/commons/7/7a/The_Great_Gatsby_Cover_1925
13
Experiment 7: Build a Registration page for online book store web site
Code:
<!DOCTYPE html>
<html>
<style>
*{
box-sizing: border-box;
}
14
body {
Page
background-color: #bc61f5;
<head>
<title>Registration Page</title>
Page
</head>
if (password !=confirm-password) {
alert("Passwords do not match.");
Page
return false;
Output:
h1 {
color: #461257;
font-size: 36px;
}
p{
font-size: 18px;
19
line-height: 1.5;
margin: 20px;
Page
left: 2;
Page
width: 280px;
21
Page
<div class="container">
<h1>Welcome to CSS Selectors Example</h1>
Page
Output:
23
Page
Output:
24
Page
Output:
25
Page
Optimize your LinkedIn profile: Make sure your LinkedIn profile is complete, up-to-
date, and optimized for search engines. Highlight your skills, experiences, and
accomplishments that are relevant to your career goals.
Build your network: Connect with professionals in your industry, including former
colleagues, classmates, and industry leaders. Join LinkedIn groups related to your
profession or interests to expand your network and engage with others in your field.
Use job search tools: LinkedIn offers a range of job search tools, including job alerts,
job recommendations, and a job search engine. Use these tools to find job postings
that match your skills and interests.
Apply for jobs: Apply for job postings that interest you and match your skills and
qualifications. Make sure to customize your application materials, including your
resume and cover letter, for each job you apply to.
Research companies: Use LinkedIn to research companies you're interested in and
learn about their culture, values, and employees. Use this information to tailor your
job search and make informed decisions about job opportunities.
Engage with your network: Engage with your network by sharing updates, articles,
26
and other content related to your industry. Comment on and share others' posts to
build relationships and stay top of mind with your connections.
Page
Experiment 17: Examine the LinkedIn profile to make sure it is ready for networking, job
searching and applying for positions
Update your profile picture: Choose a professional profile picture that reflects your
personal brand and industry.
Optimize your headline: Use your headline to convey your current or desired job title
and highlight your areas of expertise.
Customize your URL: Customize your LinkedIn URL to make it easy for others to
find you and remember your profile.
Highlight your achievements: Use your summary, experience, and education sections
to showcase your achievements, skills, and experiences.
Utilize keywords: Incorporate relevant keywords into your profile to improve your
search engine visibility and attract potential employers.
Get recommendations: Request recommendations from colleagues, mentors, or other
professionals to add credibility to your profile.
Join relevant groups: Join LinkedIn groups related to your industry or interests to
expand your network and stay up-to-date on industry news and trends.
Engage with others: Engage with others by commenting on and sharing relevant
content, and responding to messages and connection requests.
Experiment 18: Building a strategically network on LinkedIn
Define your goals: Determine what you want to achieve from your networking efforts
on LinkedIn. Are you looking for a new job, building business connections, or
seeking mentorship opportunities?
Optimize your profile: Ensure that your LinkedIn profile is complete and showcases
your skills, experiences, and achievements.
Connect with relevant people: Identify people who are relevant to your goals and
connect with them on LinkedIn. Send personalized connection requests and follow-up
with a message after they accept.
Engage with your network: Engage with your connections by commenting on and
sharing their content, sending messages, and offering support or assistance where
possible.
Join groups: Join LinkedIn groups related to your industry, interests, or goals to
expand your network and stay up-to-date on industry news and trends.
Attend events: Attend virtual or in-person events hosted by LinkedIn or other
organizations to meet new people and build your network.
27
Offer value: Offer value to your connections by sharing relevant content, offering
Page
your expertise or advice, and connecting them with others in your network.
Go to the Twitter website: Open a web browser and navigate to the Twitter homepage
at https://twitter.com/.
Sign up: Click on the "Sign up" button on the homepage. You will be taken to the
registration page.
Provide your information: On the registration page, enter your full name, phone
number or email address, and a password that meets the requirements.
Choose your username: Choose a unique username that will identify you on Twitter.
Your username cannot exceed 15 characters and should reflect your personal or
business brand.
Verify your account: Once you have entered your information and chosen your
username, Twitter will send a verification code to your phone or email address. Enter
the code to verify your account.
Set up your profile: Customize your Twitter profile by adding a profile picture, header
image, bio, and website link. You can also choose to follow suggested accounts based
on your interests.
Start tweeting: Begin using Twitter by composing your first tweet, following other
users, and engaging with the community.
28
Page
Experiment 22: Sign up in various social media platforms and implement the security
measures
Choose strong and unique passwords: Create a strong password that includes a
combination of uppercase and lowercase letters, numbers, and special characters.
Avoid using easily guessable information such as your name or birthdate.
Additionally, use a different password for each social media account to minimize the
impact of a potential data breach.
Enable two-factor authentication (2FA): Two-factor authentication adds an extra layer
of security to your account. It typically requires you to provide a second verification
factor, such as a temporary code sent to your mobile device or generated by an
authentication app. Enable 2FA on your social media accounts whenever possible.
Verify the platform's security settings: During the sign-up process, most social media
platforms provide security and privacy settings that allow you to control who can
view your posts, access your personal information, and interact with you. Review
30
these settings and configure them according to your preferences to ensure your
privacy.
Page
Experiment 23: Search people in the network using various social media platforms and
connect with them, also learn how to save content and filter it later
Sign up or log in to the social media platforms of your choice (e.g., Facebook,
Twitter, LinkedIn, Instagram).
Utilize the search functions on these platforms to find specific people or groups by
their names, usernames, or relevant keywords.
Explore different search filters provided by each platform to narrow down your search
results based on location, interests, occupation, etc.
Connect with people on social media:
Once you find someone you'd like to connect with, you can typically send them a
friend request (on Facebook), follow them (on Twitter and Instagram), or connect
with them (on LinkedIn).
Some platforms also allow you to send direct messages (DMs) to initiate
conversations with people.
Save content for later reference:
Many social media platforms provide options to save or bookmark content for later
viewing.
On Facebook, you can click on the three-dot menu on a post and choose "Save Post"
to save it to your Saved section.
On Twitter, you can click on the bookmark icon (represented by a ribbon) below a
tweet to save it to your Bookmarks.
On Instagram, you can tap the bookmark icon (represented by a flag) below a post to
save it to your Saved collection.
31
Experiment 24: Identify and use security features for each platform
a. Twitter:
1) Two-Factor Authentication (2FA): Twitter supports 2FA, which adds an extra layer of
security by requiring users to provide a verification code in addition to their password
when logging in.
1) Login Verification: This feature enables users to set up additional security checks, such as
requiring a verification code sent to their mobile device or email address when logging in
from a new device or browser.
2) Password Reset: Twitter provides a password reset option through registered email
addresses or phone numbers, allowing users to regain access to their accounts if they
forget their passwords.
3) App Permissions: Users can manage the permissions granted to third-party applications
and revoke access to their Twitter accounts if needed.
4) Privacy Settings: Twitter offers various privacy settings that allow users to control who
can view their tweets, tag them in photos, send direct messages, and more.
b. LinkedIn:
1) Two-Step Verification: LinkedIn supports 2FA, requiring users to provide a
verification code in addition to their password during login.
2) Account Recovery: In case users forget their passwords, LinkedIn provides account
recovery options via email or phone number.
3) App Permissions: Users can review and manage the permissions granted to third-party
applications and revoke access to their LinkedIn accounts.
4) Privacy Settings: LinkedIn offers privacy settings that allow users to control who can
view their profile, contact them, see their connections, and more.
5) Profile Visibility: Users can choose what information is visible to the public and their
connections on their LinkedIn profiles.
c. Facebook:
1) Two-Factor Authentication (2FA): Facebook supports 2FA, providing an extra layer
of security during login by requiring a verification code in addition to the password.
2) Login Alerts: Users can enable login alerts to receive notifications whenever their
Facebook accounts are accessed from an unrecognized device or browser.
3) Trusted Contacts: Facebook allows users to designate trusted contacts who can help
them regain access to their accounts if they are locked out.
4) App Permissions: Users can review and manage the permissions granted to third-party
32
Use Strong and Unique Passwords: Create strong passwords that are difficult to guess
and use a unique password for each social media account. Avoid using easily
guessable information like your name or birthdate.
Enable Two-Factor Authentication (2FA): Enable 2FA whenever possible to add an
extra layer of security to your social media accounts. This typically involves
providing a verification code or using a security app in addition to your password
during login.
Be Mindful of Privacy Settings: Familiarize yourself with the privacy settings of the
social media platforms you use. Adjust your settings to control who can see your
posts, photos, and personal information. Regularly review and update these settings as
needed.
Be Selective with Friend Requests and Connections: Only accept friend requests or
connection requests from individuals you know and trust. Be cautious of accepting
requests from unknown or suspicious profiles.
Think Before You Share: Exercise caution when sharing personal information or
sensitive content on social media. Be aware that anything you post can potentially be
viewed by a wide audience. Avoid sharing your address, phone number, financial
information, or any other sensitive data publicly.
Avoid Clicking on Suspicious Links: Be cautious of clicking on links shared by
unknown or untrusted sources. These links can lead to malicious websites or phishing
attempts. If something looks suspicious, verify it independently before clicking on it.
Report and Block Abusive or Harassing Users: If you encounter abusive or harassing
behavior on social media, report the user to the platform and consider blocking them.
Protect your mental well-being by removing toxic individuals from your online
experience.
Be Wary of Impersonation: Be cautious of fake profiles or accounts impersonating
someone else. Verify the authenticity of accounts, especially if they request personal
information or financial transactions.
Educate Yourself About Scams and Hoaxes: Stay informed about common social
media scams and hoaxes. Be skeptical of offers that seem too good to be true or
requests for personal information. Learn to recognize warning signs and avoid falling
victim to scams.
Regularly Update and Secure Your Devices: Keep your devices, including
smartphones and computers, updated with the latest security patches and antivirus
software. Use strong device passwords or biometric authentication methods to protect
your accounts.
33
Page
Define Your Niche: Determine the specific topic or theme that your blog and
YouTube channel will focus on. Choose something you are passionate about and that
aligns with your expertise or interests. This will help you attract and engage with a
target audience.
Set Clear Goals: Establish goals for your blog and YouTube channel. Define what you
want to achieve, whether it's building a community, sharing knowledge, promoting a
cause, or generating income. Having clear goals will guide your content creation and
overall strategy.
Create Compelling Content: Develop high-quality and engaging content that provides
value to your target audience. Craft well-written blog posts and create visually
appealing videos. Consistency is key, so establish a content schedule and stick to it.
Optimize for Search Engines: Utilize search engine optimization (SEO) techniques to
increase the visibility of your blog and YouTube channel. Research relevant keywords
and incorporate them strategically in your blog posts and video titles, descriptions,
and tags.
Engage with Your Audience: Actively interact with your audience by responding to
comments, messages, and feedback. Encourage discussion and create a sense of
community around your content. This will help build loyalty and attract new
followers.
Promote Your Content: Share your blog posts and YouTube videos on other social
media platforms to expand your reach. Utilize platforms like Twitter, Facebook,
Instagram, or LinkedIn to drive traffic to your blog and channel.
Collaborate with Others: Collaborate with other bloggers, YouTubers, or influencers
in your niche. This can help you tap into their audience and gain exposure. Consider
guest posting on established blogs or participating in collaborative videos.
Utilize Analytics: Monitor the performance of your blog and YouTube channel using
analytics tools provided by the platforms. Analyze data on views, engagement,
demographics, and audience retention. Use these insights to optimize your content
strategy and make data-driven decisions.
Stay Consistent and Patient: Building a successful blog and YouTube channel takes
time and consistent effort. Don't get discouraged if you don't see immediate results.
Stay committed, continuously improve, and be patient as your audience grows over
time.
34
Page