Yogesh Chauhan's Blog

How to create ‘share on LinkedIn’ link using just HTML?

in HTML on March 7, 2020

LinkedIn is a powerful platform to share content with your social network. Ensure your content receives the professional audience it deserves using Share on LinkedIn.

Use Share on LinkedIn to get your content in front of an audience of millions of professionals, drive traffic to your site and grow your member base and benefit from having your content shared across multiple professional networks worldwide.

Use this following code to make shareable links: 

<a class="share-linkedin" href="https://www.linkedin.com/shareArticle?mini=true&amp;
   url=[ENTER URl]&amp;
   title=[ENTER TITLE]&amp;
   summary=[ENTER SUMMARY]&amp;
   source=[ENTER SOURCE/NAME OF YOUR WEBSITE]" target="_blank" rel="noopener">
Share on LinkedIn

Most Read

#1 How to check if radio button is checked or not using JavaScript? #2 How to add Read More Read Less Button using JavaScript? #3 Solution to “TypeError: ‘x’ is not iterable” in Angular 9 #4 Solution to the error “Visual Studio Code can’t be opened because Apple cannot check it for malicious software” #5 How to uninstall Cocoapods from the Mac OS? #6 PHP Login System using PDO Part 1: Create User Registration Page

Recently Posted

#Apr 8 JSON.stringify() in JavaScript #Apr 7 Middleware in NextJS #Jan 17 4 advanced ways to search Colleague #Jan 16 Colleague UI Basics: The Search Area #Jan 16 Colleague UI Basics: The Context Area #Jan 16 Colleague UI Basics: Accessing the user interface
You might also like these
@forward rule in SCSS (Sass)SCSSArray destructuring and Object destructuring in JavaScriptJavaScriptThe Difference Between isNaN() Method And isNaN() Function In JavaScriptJavaScriptHow to apply style only to first child and/or only to children other than the first child?CSSOptional arguments, Default parameters and REST parameters in JavaScriptJavaScriptHow to use @each rule with key-value pair in SCSS?SCSSHow to Use the EXISTS and NOT EXISTS Operator with a Subquery in SQL and MySQL?SQL/MySQLHow to update database configurations in WordPress?WordPressHow to convert an object from API to JSON array in Angular 9?AngularCommon Table Expressions (CTE) in PostgreSQLPostgresHTML Copyright SymbolHTMLWordPress get_posts ExamplesWordPress