Search results “Js style font family”
10: How to Import New Fonts | Basics of CSS | Learn HTML and CSS | HTML Tutorial
How to import new fonts | Basics of CSS | Learn HTML and CSS | HTML tutorial. In this lesson we will learn how to import new fonts into our website using HTML & CSS. We need to do this if we want to use fonts other than the ones we have available to us as a default. Link to all web safe fonts: https://www.w3schools.com/cssref/css_websafe_fonts.asp Link to Googles font library: https://fonts.google.com/ Link to Dafont for more free fonts: https://www.dafont.com/ ➤ GET ACCESS TO MY LESSON MATERIAL HERE! First of all, thank you for all the support you have given me! I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you! I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach. I hope you will find it helpful :) Material for this lesson: https://www.patreon.com/posts/html-10-download-15593559
Views: 78324 mmtuts
CSS Lecture 6 - CSS Fonts Property, Font Family, Style and Font Size Property
CSS Lecture 6 - CSS Fonts Property, Font Family, Style and Font Size Property Like Us on Facebook - https://www.facebook.com/Easy-Engineering-Classes-346838485669475/ CSS Hindi Classes CSS Tutorial for Beginners in Hindi CSS Study Notes Web Engineering Notes Web Technology Notes
Increase decrease font size using jquery
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/05/increase-decrease-font-size-using-jquery.html In this video we will discuss how to increase, decrease and reset font size using jQuery Replace < with LESSTHAN symbol and > with GREATERTHAN symbol <html> <head> <style> .divClass { font-size: 16px; background-color: #E3E3E3; width: 500px; padding: 5px; } </style> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#linkIncrease').click(function () { modifyFontSize('increase'); }); $('#linkDecrease').click(function () { modifyFontSize('decrease'); }); $('#linkReset').click(function () { modifyFontSize('reset'); }) function modifyFontSize(flag) { var divElement = $('#divContent'); var currentFontSize = parseInt(divElement.css('font-size')); if (flag == 'increase') currentFontSize += 3; else if (flag == 'decrease') currentFontSize -= 3; else currentFontSize = 16; divElement.css('font-size', currentFontSize); } }); </script> </head> <body style="font-family:Arial"> Font-Size: <a id="linkIncrease" href="#">Increase</a> <a id="linkDecrease" href="#">Decrease</a> <a id="linkReset" href="#">Reset</a> <br /><br /> <div id="divContent" class="divClass"> <b>jQuery Tutorial</b> <ul> <li>What is jQuery</li> <li>What is $(document).ready(function() in jquery</li> <li>Benefits of using CDN</li> <li>#id selector</li> <li>Element Selector</li> <li>class selector</li> <li>attribute selector</li> <li>attribute value selectors</li> <li>case insensitive attribute selector</li> <li>jQuery input vs :input</li> </ul> </div> </body> </html>
Views: 24975 kudvenkat
CSS how to: font-family
Declare the preferred font family for your web page with this CSS property http://www.technoblogical.com/web-design/ Providing training since last Tuesday http://www.technoblogical.com Thanks for watching!
Views: 10639 Chris Walker
JS - Text Fill Progress Indicator
This is how to show progress as colored part of the text using JavaScript. Code used : https://codepen.io/zFunx/pen/ZxERpg Read it on my blog : https://web.zfunx.xyz/text-fill-progress-indicator/ You can use Lobster Font (https://fonts.googleapis.com/css?family=Lobster) or any other Google font from here https://fonts.google.com/ Website : https://web.zfunx.xyz/ Facebook : https://www.facebook.com/zfunxWeb Google+ : https://plus.google.com/113560671967552430928 Twitter : http://twitter.com/PleeZfunx Instagram : https://www.instagram.com/zfunx/
Learn CSS in Hindi | CSS Font Family Style Weight Variant in Hindi
Learn CSS in Hindi | CSS Font Family Style Weight Variant in Hindi दोस्तों ! इस विडियो में आपको फॉण्ट के बारे में बताया गया है | उम्मीद है विडियो आपको पसंद आयी होगी , अगर विडियो पसंद आये तो विडियो को लाइक सब्सक्राइब और शेयर करना ना भूले | ►Important Notice : क्या आप वेब डिजाइनिंग और डेवलपमेंट हिंदी में सीखना चाहते है ? और साथ में बहोत ऐसे courses आपके लिए बनाये गये है अधिक जानकारी के लिए यहाँ पर क्लिक कर के देख सकते है | https://www.instamojo.com/youtubebipinwebacademy/ ►You can Buy Web Designing and Development Course Video : ►Buy Now HTML & HTML 5 only Rs.299 Click Here : http://imojo.in/fpd64z ► Don’t Forget to “ Like Subscribe Share Us” ► Our Social Network : ► Subscribe Us : https://www.youtube.com/c/bipinwebacademy?sub_confirmation=1 ► Connect with: Facebook : https://www.facebook.com/bipinwebacademy/ ► Follow on Google+ : https://plus.google.com/u/0/107406438107616992475 ► Follow on Twitter : https://twitter.com/BipinWebAcademy ► Follow on LinkedIn : https://www.linkedin.com/in/bipin-web-academy-60bbbb13a/ ► Email id : [email protected] ► Watch our playlist : ► Learn Photoshop in Hindi : https://goo.gl/uKP8NU ► Learn PHP in Hindi : https://goo.gl/wLGyxs ► Learn mysql in Hindi : https://goo.gl/5rPd6j ► Learn PowerPoint in Hindi : https://goo.gl/4LLwLh ► Learn SwishMax in Hindi : https://goo.gl/bIx1EI ► Learn Wordpress in Hindi : https://goo.gl/C4mt86 ► Learn MS word in Hindi : https://goo.gl/siqFnP ► Learn jQuery in Hindi : https://goo.gl/Hgqerj ► Learn JavaScript in Hindi : https://goo.gl/5P1r22 ► Learn Internet in Hindi : https://goo.gl/8HPlsM ► Learn Illustrator in Hindi : https://goo.gl/OFk6Iy ► Learn HTML in Hindi : https://goo.gl/QcjtOf ► Learn MS Excel in Hindi : https://goo.gl/WzZ1NW ► Learn CSS in Hindi : https://goo.gl/vNIvaY ► Learn Adobe Flash in Hindi : https://goo.gl/wRwlB2 ► Earn Money From youtube : https://goo.gl/cglNn8 ► Earn Money from Blogger : https://goo.gl/XZQPAF ► Bipin Web Academy | bipin web academy | Saurabh Kumar Shrivastav ► Note: Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use. #html#css#javascript#jquery#bootstrap#php#mysql#mongodb#bipinwebacademy#trending#webdevelopment#webdesign
Views: 3048 Bipin Web Academy
Five Editor Fonts That Will Make You Look Cool While Programming
Fonts are something we usually don't think much about. But when you program they can be useful. In this video I look at five crazy fonts you should check out. (One is over $200 dollars) These work great with Visual Studio Code (VS Code), or Sublime, or Atom, or any other editor List of Fonts -http://bit.ly/2nJJ2Io -----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆ ► LEARNING TO CODE? CHECK OUT THESE COURSES! (SOME ARE AFFILIATE) VUE.JS + NUXT.JS (Two Courses In One) - http://bit.ly/2LalQka (use discount code For-YouTube to get 40% off!!) THE WEB DEVELOPER BOOTCAMP (GREAT FOR BEGINNERS) — http://bit.ly/2zP4alw THE ADVANCED WEB DEVELOPER BOOTCAMP — http://bit.ly/2h53MYg THE ULTIMATE VUE JS 2 COURSE - http://bit.ly/2CTvsvx ANGULAR 4 - http://bit.ly/2AG0IdP CHECK OUT THIS COURSE - Angular 5 - The Complete Guide - http://bit.ly/2sCMxWm CHECK OUT MY AMAZON STORE - https://www.amazon.com/shop/programwi... ► Wes Bos's Courses! REACT FOR BEGINNERS - http://bit.ly/2BctxOE ES6 - http://bit.ly/2iF4YT3 LEARN NODE - http://bit.ly/2jKLYpE ___ ► JOIN MY FACEBOOK GROUP AND START LEARNING CODE — https://www.facebook.com/groups/19027... ___ ► GET THE FIRST CHAPTER OF MY NEW BOOK Vue.js in Action! SIGN UP HERE! — http://bit.ly/2GWWuEw GET MY LAST BOOK EMBER.JS COOKBOOK! — https://goo.gl/LEIdSc GET MY NEW BOOK VUE.JS IN ACTION - https://goo.gl/qohSPs ___ MY WEBSITE — http://www.programwitherik.com MY TWITTER — http://www.twitter.com/erikch MY FACEBOOK — http://www.facebook.com/programwitherik
Views: 4901 Program With Erik
How To Change The Font Family Of A Bootstrap Template
Get Our Full Bootstrap Website Building Course – Learn to build sites fast: https://goo.gl/6tzUxH How To Change The Font Family Of A Bootstrap Template. In this video we are going to change the font family of a Bootstrap website using the brackets text editor. Bootstrap is an awesome platform, it's really fast loading and lightweight, if you are not creating a blog or e-commerce store I would recommend it over WordPress every time. Brackets text editor is a fantastic free code editor that can be used for editing just about any type of code. Brackets is really easy to use and has many free extensions that make coding a bootstrap site really quick and easy. Download the free brackets text editor from here: http://brackets.io/ Free Tech Courses - Web Design, game development, javascript, wordpress, bootstrap: https://bestwebdevelopmentcourses.com/free/ Get our Build an awesome pro eCommerce store for free with WordPress course. https://goo.gl/fQDRMP Get our complete WordPress local install and migration course here : https://goo.gl/MsW8B3 Subscribe to our Channel https://goo.gl/Vn3Qu2 More tips at :http://web-design-and-tech-tips.com/ Facebook:https://www.facebook.com/system22.net/ Get us to build Your website: http://www.system22.net/web-design.html Free Fitness and Health Courses Yoga, Weight Loss, Fitness, Work Out: https://easy-get-fit.com/free-courses/
font-family,  float, clear, property details - Class-10
Professional Web Design A - Z (HTML, CSS, Bootstrap, JS) --------------------------------------------------------------------------------------------- CSS Fonts There are two types of font family names: family-name - The name of a font-family, like "times", "courier", "arial", etc. generic-family - The name of a generic-family, like "serif", "sans-serif", "cursive", "fantasy", "monospace". Font Properties: font-family, font-size, font-weight, font-style, font-variant, font Overflow hidden Float left right Clear Control for floating element left right both Learn More: https://goo.gl/3J6bhV Learn Web Design and Development: https://www.youtube.com/gmmostakimbillah Facebook: https://www.facebook.com/safesyntax/ Website: http://www.safesyntax.com/ #Thanks a lot for watching this video
Views: 1730 G. M. Mostakim Billah
HTML & CSS - Embedding custom fonts with @font-face
Don't like default fonts like Arial or, Helvetica? In this tutorial I'll go through how you can go about embedding your own custom fonts onto a website. Don't forget to leave your suggestions for future tutorials down in the comments. Keep me busy with these weekly videos, bare in mind I am restricted to HTML & CSS for now, thanks. It's a short and simple tutorial but nonetheless, hope it has helped at least one person out. :) Website: http://www.mjdwebdesign.co.uk • Twitter - http://www.twitter.com/mjdwebdesign • Dribbble - http://www.dribbble.com/mjdwebdesign • Facebook - https://www.facebook.com/mjdwebdesign • Facebook Community Page - https://www.facebook.com/matthew.dewhurst.75 If you have any feedback or suggestions feel free to leave them down in the comments section below. Thanks for watching - If you enjoyed this video or it helped you in any way please go ahead and hit that like button to support the video. To support and keep up to date with the channel be sure to subscribe if you haven't already. Alright, that's about it from me - I will see you, in the next one!
Views: 81892 mjdwebdesign
HTML and CSS Tutorial 27 - Font Family
Support me: http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 1913 Caleb Curry
CSS font Properties in Telugu - SEO Skills Hyderabad
In This Video You will Learn ========================= in This CSS font Properties in Telugu 1.font-family 2.font-size 3.font-style 4.line-height 5.text-decoration 6.font-weight 7.font-variant 8.text-decoration 9.color About SEO skills ----------------------------------- www.seoskills.in is digital marketing and branding training academy located in Hyderabad, India. We train students, working employee’s and house wives digital marketing and branding tools. Website http://www.seoskills.in Facebook https://www.facebook.com/DigitalVidyaHyd Blog http://www.alltechskills.com Blogger: http://www.learnskills.blogspot.com Tumblr: http:// digitalvidyame.tumblr.com
Views: 13416 SEO Skills
CSS - 08. Styling fonts: font-family and font-style
In this video, I talk about ways in which you can style fonts in CSS, using font-family and font-style.
Views: 278 Loot Tutorial
How to Download and Use Font Awesome 5 Icons Offline in HTML - web development
#fontAwesome5 #frontendfunn #fontAwesome5Offline #fontAwesomeIcons Learn HTML CSS and Javascript. html css javascript How to Use Font Awesome 5 Icons Offline. font awesome 5 new version has been released. font awesome Icons is a popular font library which consists of web fonts which can be included in the webpage easily. or font awesome 5 icons can also be included in using CDN. font awesome 5 icons library consists of web icons which are available in different formats like font awesome 5 css files, font awesome 5 svg, font awesome 5 scss, font awesome 5 less. font awesome 5 icons are also available in production version i.e, you can use font awesome 5 icons using CDN and font awesome 5 icons are also available in development version i.e, you can use font awesome 5 icons offline. font awesome 5 icons download https://fontawesome.com/ Thanks For Watching. hope you enjoyed this video. Please do watch other videos on my channel. please share and subscribe. Web development | HTML | CSS | SCSS | javascript Tutorials ------------------------------------------- https://www.youtube.com/playlist?list=PLSQ4mck-bvik9o8IJGoMezRsOjqia-y36&disable_polymer=true Social Media Icons Animations --------------------------------- https://www.youtube.com/playlist?list=PLSQ4mck-bvikTgpdp1xeNc9gcT5BUd5J1 Pure CSS Loaders Animations --------------------------- https://www.youtube.com/playlist?list=PLSQ4mck-bvikY0wjMXA3sVJMoBRiZQyxN Bootstrap 4.2 Tutorials ----------------------- https://www.youtube.com/playlist?list=PLSQ4mck-bvikhDaOKl43lNrdcm1h0o2fw ==================================================== You can find the source code at frontendfunn website http://www.frontendfunn.com ==================================================== ************************************************************* Facebook https://www.facebook.com/Frontendfunn-222709251757726/ Instagram https://www.instagram.com/frontendfunn/ Happy Coding :D *************************************************************
Views: 80806 FrontEndFunn
How to add custom fonts in React-Native Project - Really Easy :)
In this video, you gonna learn how to add custom fonts to your react-native project. Join my Discord channel: https://discord.gg/eK67Gc5 If you would like to donate for support my channel you can do this by using Paypal here: https://goo.gl/GnnRLa Thank you :) Or by bitcoin: 1FkQYDPTgyUibFdfdyMETnxYPwEK4Y8kpv Or by Ethereum: 0xed4E76cc3e15C14bcfFCA89130a0a5c12f6AA28c I would like to thank the donators to this channel. Thank you so much :) - Wonmin Jeon - iMarket - Tarek Fattah - Donald Walters Twitter: https://twitter.com/QuimperEmanuel Blog: https://equimper.me Github: https://github.com/EQuimper Google Plus: https://goo.gl/k2VzNa Hashnode Profile: https://hashnode.com/@equimper
Views: 14990 EQuimper
Using style of Font-Family in HTML
use font-family, font-size on HTML. E-mail: [email protected] Site: dev.sombochea.com Create more, Develop more, and get more knowledge.
Views: 192 CHEA SAMBO
6. HTML, CSS and JavaScript: Inline Styles
This is the sixth in a series of videos about creating a web page by combining HTML, CSS and JavaScript. It covers the use of the style attribute to change the appearance of text. These so called 'inline styles' can be used to change font colour, font family, font size, and more. The video includes specifying a colour for a style using either a colour name, an RGB value or a hexadecimal colour code. It also shows how to specify a font size that will grow and shrink according to the size of the browser window.
Views: 131 Computer Science
Digital clock with HTML, CSS and JavaScript
Google font-family link : link href='https://fonts.googleapis.com/css?family=Orbitron' rel='stylesheet' type='text/css'
Views: 574 Web Master
javascript tutorial - Background color change dynamically using pure javascript - bangla
In this video I have shown how can we change background color dynamically using javascript. Source code and tutorial will be available from following link https://github.com/polodev/dynamic_color_in_javascript_yt_bangla Dynamic Background color using pure javascript This is a funny little project, which will help you to practice some javascript with fun. Things I have covered in this lesson Math object Math object is a collections of properties and method to perform mathematical calculation. // for getting pi value Math.PI // for getting ceil value Math.ceil(2.33); //for getting floor value Math.floor(2.33); //for getting round value Math.round(2.33); Math.round(2.63); //for getting random number between 0 - 1; Math.random() //for getting random number between 0 - 5; Math.random() * 5 //for getting random integer number between 0 - 5; Math.floor(Math.random() * 5) //for getting random integer number between 0 - 5 using pareInt function // I mean instead of Math.floor() method we can use parseInt function parseInt(Math.random() * 5) style in js using element.style object we can style our html document in javascript. In css, we are using background-color as css property. But in js hyphen (-) treated as arithmetic operator. So instead of background-color we will use cameCase version 'backgroundColor'. Same goes to similar css properties like fontFamily body.style.backgroundColor = colors[ parseInt(Math.random() * colors.length) ]; body.style.color = 'white'; addEventListener using addEventListener we can attach any event to a element button.addEventListener('click', function () { // whatever you want to execute on click event }); Here first parameter is event name, second parameter is a function How to make a dynamic colors we will make array of colors and make background color from colors array using js. We will select random color from colors array using Math.random() and parseInt() method. Here is the full code var body = document.body; var button = document.querySelector('button'); var colors = ['teal', 'salmon', 'tomato', 'blue', 'green', 'maroon', 'dodgerblue']; function color_change() { body.style.backgroundColor = colors[ parseInt(Math.random() * colors.length) ]; } color_change(); button.addEventListener('click', color_change); body.style.color = 'white'; My name is shibu deb polo Thanks Please subscribe to my channel https://www.youtube.com/c/polodev10 Happy coding!
Views: 798 shibu deb polo
HTML and CSS Tutorial in Urdu/Hindi 2016 - css font properties
HTML and CSS Tutorial in Urdu/Hindi 2016 - css font properties In this video we learn all font properties of CSS which include:font-style, font-variant,font-weight,font-size.. Subscribe my channel for more video updates! links: https://www.facebook.com/AzeemAcademy-504085809799476/?ref=aymt_homepage_panel .................................................... font properties in css|css font|font-family|css font color|css font family|font-face|css fonts|style font|font family list|font color css|font css|font family css|html font|font family html|fonts style
Views: 1824 Azeem Academy
Add Your Own Custom Font on Website Using CSS Only :) No Google Font Link
Welcome, all we will see How we can add our own custom using CSS Only. Source Code Link: https://www.thapatechnical.com/ With the @font-face rule, web designers do not have to use one of the "web-safe" fonts anymore. In the @font-face rule you must first define a name for the font (e.g. myFirstFont), and then point to the font file. Tip: Use lowercase letters for the font URL. Uppercase letters can give unexpected results in IE! To use the font for an HTML element, refer to the name of the font (myFirstFont) through the font-family property: div { font-family: myFirstFont; }
Views: 792 Thapa Technical
CSS Tutorials 3 | Inline CSS in HTML| Inline CSS Font Family and More CSS HTML Examples
It’s very easy to use the inline css in HTML document inside of any HTML Tag.You can add inline css to html element using the HTML Style attribute. Although Inline CSS is not a good practice but sometimes you will have to write Inline CSS code in HTML. The main difference of the Inline CSS is that , it only affects the HTML tag where you used the inline css. To Design any HTML eMail template , Edit old website , Design Website with CMS like WordPress and to Add dynamic content , You will need to use Inline CSS . Inline css is also a bit faster because the HTML document doesn’t need to call any external CSS file every time. #CSS #Tutorials #Inline #CSS #Font #family CSS Tutorials Playlist (Get All Videos) : http://imranemu.com/css-tutorials [ Please subscribe our Youtube Channel https://goo.gl/XJ7e4g ] Some Free WordPress Plugins : https://goo.gl/eNQrmS Some Awesome free Plugins , You would love to install ... WordPress Pricing table plugin : https://goo.gl/KW87Xi WordPress Team Members plugin : https://goo.gl/k1QHKo WooCommerce Product Slider Plugin : https://goo.gl/uAhQzm WordPress Product Catalog Plugin: https://goo.gl/PVH2Ws WordPress Logo Slider Carousel Plugin : https://goo.gl/drVyJi Owl Carousel WordPress : https://goo.gl/A6xgSb WordPress Portfolio Plugin : https://goo.gl/FiDjUc WordPress Testimonial Plugin : https://goo.gl/AhsKaP Thank You For Watching........ Please subscribe our Youtube Channel for regular videos and like the video . Visit My site: https://www.themescode.com/ Facebook : https://www.facebook.com/imran.emu88/ Facebook Group : https://www.facebook.com/groups/wpvtuts/ -~-~~-~~~-~~-~- Please watch: "Elementor Tutorial For Beginners 1 | Best WordPress Page builder Plugin 2019" https://www.youtube.com/watch?v=4Wo_T0MEu4s -~-~~-~~~-~~-~-
Views: 180 Imran Emu
CSS Tutorial for Beginners - 02 - Changing font type, color, and size
In this video we go over changing the font type, size, and color. Source for episode: http://pastebin.com/RVK07MrM
Views: 451202 EJ Media
How to Download and Apply Any Font in your Website using font-face rule | CSS Tutorial in Hindi/Urdu
Learn how to apply any font in your website using CSS. If you don't like default fonts of Website then you can change or replace them with any other custom fonts according to your choice in your Website. It is very easy to apply your own new custom fonts in website using css @font-face rule. You can add any font in website by using font-family and source of new font after giving proper path of that file. In this video tutorial i am sharing with you that how you can apply google fonts in website. You only need to copy a font link in your HTML File in header section then apply that font with its font-family by mentioning font name. By this Method you can Easily use any Font on Any Website. Embedding your own custom fonts onto a website is super easy method now with font face. Let's check it out in this Video Tutorial. #googlefonts #websitefonts #fontface ******************************** Check my Online Store on Instamojo https://goo.gl/jcPJTs ******************************** Check my all Videos on Youtube https://www.youtube.com/jpwebtutorials/videos Check my all Playlists here: https://www.youtube.com/jpwebtutorials/playlists Support me on Social Media: Facebook Page : https://www.facebook.com/jpwebtutorials Subscribe on Youtube: https://www.youtube.com/jpwebtutorials Email : [email protected]
Views: 2107 JP Web
font-family property in CSS (Hindi)
Topics: font-family property in CSS Make sure you have basic knowledge of HTML before watching Cascading Style Sheet (CSS) Tutorials. You can find out our HTML Complete Video tutorials : http://goo.gl/O254f9 Feel free to share this video: CSS Complete Video Tutorial Playlist: https://goo.gl/1QNdiB Check Out Our Other Playlists: https://www.youtube.com/user/GeekyShow1/playlists SUBSCRIBE to Learn Programming Language ! http://goo.gl/glkZMr Learn more about subject: http://www.geekyshows.com/ __________________________________________________________ If you found this video valuable, give it a like. If you know someone who needs to see it, share it. If you have questions ask below in comment section. Add it to a playlist if you want to watch it later. ___________________________________________________________ T A L K W I T H M E ! Business Email: [email protected] Youtube Channel: https://www.youtube.com/c/geekyshow1 Facebook: https://www.facebook.com/GeekyShow Twitter: https://twitter.com/Geekyshow1 Google Plus: https://plus.google.com/+Geekyshowsgeek Website: http://www.geekyshows.com/ ___________________________________________________________ Make sure you LIKE, SUBSCRIBE, COMMENT, and REQUEST A VIDEO! :) ___________________________________________________________
Views: 3990 Geeky Shows
CSS tutorial 21 - Using @font-face for Custom Fonts
In this tutorial I go over @font-face. You can use font-face to use any font you want for your website and not having to rely on user having the font installed.
Views: 656 Struct Feed
How to Change Font Family and Font Size in WordPress with CSS
Learn how to change font family and font size in your WordPress theme using basic CSS. For a list of web safe fonts, visit: http://www.w3schools.com/cssref/css_websafe_fonts.asp To learn about Google fonts, visit: https://www.google.com/fonts For more WordPress tips, advice, and tutorials, visit: http://www.mywpexpert.com.
Html dərsləri 04  { Html5 stillər  background color ,  color, font family, font size , text align }
Html dərsləri 04 { Html5 stillər background color , color, font family, font size , text align }, seo (ilkinur,keremli,html,css,text-align,font-size,font-family,color,background-color,HTML stilleri,stillər,background,size,html stilləri,html5 stilləri,css stilləri,css stilleri,html style atributu,color nədir,font-family nədir,background-color nədir,font-size nədir,text-align nədir,color nedir,font-family nedir,background-color nedir,font-size nedir,text-align nedir,html+css,sayt yigmaq,sayt acmaq,sayt yaratmaq,pulsuz sayt yaratmaq,sayt yığmaq) The HTML Style Attribute The HTML style attribute has the following syntax HTML Background Color The background-color property defines the background color for an HTML element. HTML Text Color The color property defines the text color for an HTML element. HTML Fonts The font-family property defines the font to be used for an HTML element. HTML Text Size The font-size property defines the text size for an HTML element. HTML Text Alignment The text-align property defines the horizontal text alignment for an HTML element. Chapter Summary Use the style attribute for styling HTML elements Use background-color for background color Use color for text colors Use font-family for text fonts Use font-size for text sizes Use text-align for text alignment -------**** Kanalda olacaq dərslər****--------- * HTML5 * CSS3 * Bootstrap * JavaScript * jQuery * Ajax * Php * Laravel * CodeIgniter ** Bunlar bitdikdən sonra Androidə başlayacayıq** ** Daha sonra isə sizə tam fərqli videolar çəkəcəm buda zamanı gələndə görəcəksiniz sürpriz olacaq hansıki hec bir kəs bunu etməyib :) ** Html { stillər background color , color, font family, font size , text align }
Views: 176 Ilkinur Keremli
CSS Font Family
Check out my new site at http://www.youtubemuse.com/ In this screencast, we are going to talk about setting font family using CSS. If you've used rich text editing software like Microsoft Word before, then you should be familiar with fonts like Time New Roman or a lot of others you can choose from. I will show you some fonts that are more commonly used in the internet world.
Views: 3308 Jeffery Hirono
Set the Font Family of an Element, freeCodeCamp review html & css
In this challenge we learn how to add a 'font-family' style to our 'p' element. This can be done through the style tag.
Views: 1264 We Will Code
Add Custom Font in Website | @Font-Face in CSS | Custom font in CSS & HTML | Hindi
Welcome all, we will see how to add Custom Font in Website in Hindi. what is @Font-Face in CSS | Custom font in CSS in Hindi. In the @font-face rule you must first define a name for the font (e.g. myFirstFont), and then point to the font file. Tip: Use lowercase letters for the font URL. Uppercase letters can give unexpected results in IE! Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines. Don't Forget to Follow me on all Social Network, Instagram Link: https://www.instagram.com/vinodthapa55 Facebook Link: https://www.facebook.com/vinodthapa55 Twitter Link: https://twitter.com/vb55thapa Facebook ThapaTechnical Page Link: https://www.facebook.com/vinodbahadurthapa
Views: 1288 Thapa Technical
Use HTML font family in html Web page
HTML font family
Views: 414 Yashwant saini
HTML Tutorial #04 - CSS (Basics) font-family
Neben dem C Tutorial, kommt jetzt auch HTML, später noch CSS und Java/JavaScript. In diesem Video erkläre ich, wie ihr ein id Attribut innerhalb eines a-Tags verwendet, und damit einen Verweis auf eine Textzeile innerhalb des HTML Dokuments erstellt. _________________________________________________________
 Programmieren von HTML Dokumenten, ab Tutorial #05 wird ein Editor benötigt, einer der unten aufgelistet besseren. Mac: - TextWrangler(Mac): AppStore - CodeRunner(Mac): AppStore - Adobe Dreamweaver CS 4 / 5 / 6 CodeRunner wird hier nicht empfohlen, würde aber funktionieren. Windows:
 - Editor - Notepad++: http://notepad-plus-plus.org/ - Adobe Dreamweaver CS 4 / 5 / 6 - Microsoft WebMatrix (Kostenlos) - Microsoft Visual Studio 2010 / 12 (Teilweise Kostenlos) - Microsoft Expression Web 4 (Kostenpflichtig) 
 ► Website: http://postutorial.jimdo.com ► Folgen auf Twitter: http://twitter.com/POSTutorial ► Gute Website für das lernen von HTML: http://w3schools.com _________________________________________________________
 HTML/CSS Tutorial von POSTutorial (2012). Funktioniert auf Mac und Windows.
Views: 2424 POSTutorial
jQuery selected selector
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/04/jquery-selected-selector.html In this video we will discuss jQuery :selected selector. To select all checked checkboxes or radio buttons, we use :checked selector. To select all selected options of a select element use :selected selector. How to get selected option from single select dropdown in jquery : We want to get the selected option text and value Replace < with LESSTHAN symbol and > with GREATERTHAN symbol. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#selectCountries').change(function () { var selectedOption = $('#selectCountries option:selected'); $('#divResult').html('Value = ' + selectedOption.val() + ', Text = ' + selectedOption.text()); }); }); </script> </head> <body style="font-family:Arial"> Country: <select id="selectCountries"> <option selected="selected" value="USA">United States</option> <option value="IND">India</option> <option value="UK">United Kingdom</option> <option value="CA">Canada</option> <option value="AU">Australia</option> </select> <br /><br /> <div id="divResult"></div> </body> </html> How to get all selected options from multi select dropdown in jquery : We want to get all the selected options text and value. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#selectCountries').change(function () { var selectedOptions = $('#selectCountries option:selected'); if (selectedOptions.length > 0) { var resultString = ''; selectedOptions.each(function () { resultString += 'Value = ' + $(this).val() + ', Text = ' + $(this).text() + '<br/>'; }); $('#divResult').html(resultString); } }); }); </script> </head> <body style="font-family:Arial"> <select id="selectCountries" multiple="multiple"> <option selected="selected" value="USA">United States</option> <option value="IND">India</option> <option value="UK">United Kingdom</option> <option value="CA">Canada</option> <option value="AU">Australia</option> </select> <br /><br /> <div id="divResult"></div> </body> </html> Please note : Hold down the CTRL key, to select more than one item.
Views: 83332 kudvenkat
How to use external font in HTML
Easy way to add fonts in HTML page. Download file: http://rony.jamunait.com/devers/html_tutorial.zip mail: [email protected]
Views: 9984 Manir
CSS BORDER, Hover Effect, Font Styling, Pseudo Selector, SPAN Tag || Web Development Classes
In this video You will learn about these things : CSS Border, border style, border color, border width, border radius, font selection, font size, font family, font styling , font weight, font style ,span tag, text decoration, pseudo selector, hover effect etc. Complete Web Development Classes in Hindi : https://www.youtube.com/watch?v=hpMIQ1lM3Fs&list=PLcnuXGrBAu2iRf8NqkRaLu9ulztzPk6-9 Computer Fundamental Classes : https://www.youtube.com/watch?v=Wopd6QP0UFQ&list=PLcnuXGrBAu2jGbBhhsDu1mu2gvzvFAxzn If you want to know more about Hindi and English Typing then you can check my Typing lessons.. Link is here: https://www.youtube.com/watch?v=BXIxwFydiJw&list=PLcnuXGrBAu2jo71FAYJA_xcyi_7ydw43i Download the “Luke typing Pro software”. Perfect software to learn Hindi and English Typing at home. Link is here : http://www.technoguruamit.com/luke Keep Watching, Keep Learning. Please Subscribe my Channel ..only if u like my videos and they really help you.. Thanks a Lot !! To Subscribe Our Channel Please Click Here: https://www.youtube.com/technoguruamit Tech Tutorials and Computer Classes.. Follow us :- Website: http://www.technoguruamit.com Mail Us: [email protected] Instagram: technoguruamit Facebook: https://www.facebook.com/technoguruamitacharya Twitter: @technoguruamit #cssborderproperty #spantag #hover
Responsive Sidebar Navigation Menu Using HTML, CSS and JavaScript
Responsive Sidebar Navigation Menu Using HTML, CSS and JavaScript In this tutorial, we are creating a Responsive sidebar with HTML, CSS, and JavaScript. In this video, i will demonstrate how to create slide in sidebar using CSS and JavaScript. Along with this we also create sliding animation for the toggle menu button. We will add first name of the website and then as a navigation item we will add home, blog, features, Pricing and contact us section. We create hover effect on the Navigation item. Using font awesome website we use icons in the project. Learn More From Our Website:- www.dailywebtuition.com Attribution Icon made by monkik from www.flaticon.com Music: https://www.bensound.com Photos: https://www.pexels.com Hey Everyone welcome back to daily tuition. in this tutorial I will show you how to create sidebar with animated hamburger menu. in this sidebar we will add website name navigation item and social links. along with that we will animate hamburger menu. so when you click on the hamburger menu you will see this sidebar. You can see this site is responsive for mobile devices also. we are using CSS for styling HTML and also use JavaScript to add click event to the hamburger menu. so before we start this video make sure you press the subscribe button and also press the bell icon to get notified of my every new video and also like this video if you find anything useful. so before we getting late let's get started. so first you need to open empty folder in the editor and create two file in that folder index.htm and style.css. in index.html file create simple HTML5 snippet and specify title text. I will spit this window so you will know what is going on. after that we link two files. first one is font awesome CSS file to use icon in the project and second is style.css In the body tag create a container class and in that class put the navigation with navbar class and specify ID nav ID. In the navigation create type button and specify a class toggle collapse and ID toggle button in this button create a span tag and specify class toggle icon using this class we create hamburger menu. Now we will create navigation. so we will add in order list tag with site nav class and here we put a li tag with nav item class. in the li tag we insert and anchor tag and specify site name class. so here we specify website name. after that we create second navigation item with item class and insert anchor tag with nav link class. So here we First specify first navigation item Home. after that we insert another li tag with nav item class and create anchor tag with nav link class specify blog text. I will fast forward this video and create features pricing and contact us navigation item. I will use same classes to create this navigation items. On the last navigation item we will insert social icon font awesome website. So I will add some social icon here Like Facebook Twitter Instagram and YouTube. how the time in style this HTML. in style.css select body tag and specify margin 0% and padding 0% then I will apply Font family and specify background colour two body of the document. then I will create navbar class and specify position absolute right 0% width 260 pixel you are free to choose your own navigation width. specify height 100% background colour black text align centre and transition property 0.8s then I will select side nav class which is child of navbar class specify list style type none padding 0 and margin 0. Create an nav item class specify display flex. then select the child element of navigation item navigation link and specific text decoration none colour font size 1.1em padding 1em and flex 1 property to fill the Remaining space of navigation item. after that create hover effect on a navigation link specify background and colour property. Now now we will align toggle button at the right place. to create toggle collapse class specified float property left margin left -3.3em margin top. 5em content blank outline inherit border 0px background transfer. now we will create toggle button. so using toggle icon class I will create toggle button. In the previous video I showed you how to create toggle icon with animation. we are creating the same code here also so you can skip this section review if you already watch the previous video if not then you can watch this video from the top right corner of the screen. in the toggle icon code I just made some changes And specify different width for horizontal bars of toggle icon. After creating the toggle icon we select site name class and specify text decoration none padding 1.3em font size 2em and color whitesmoke. Select the social icon using nav item last child i tag and specify padding .5em. Then create remove hover effect from the social icons. And specify Background colour black and colour white. if you have any question then comment us.
Views: 6476 Daily Tuition
Basics Of CSS - Tutorial5 - Styling Your Fonts, backup fonts and font-family
check out my website for all my tutorials: http://carlsapty.com/ to see all my tutorials, check out my tutorials at http://carlsapty.com/tutorials-2/ this video is to show you how to style your fonts and using backup fonts in CSS if you would like me to make a video about something specific, drop me an email, or if you have only a small question then i should be able to help as soon as possible! if you have any questions, email me on my website or leave a comment!
Views: 184 Carl Saptarshi
learn html and css #9 hindi/urdu {align center,background colour,color text,div align center}
how to create how to create, style,background-color,text-color,font-family,font-size,text-align.and easy lecture from khaleeq ul zaman's. and more videos watch from (www.allfuntoday.com) please subscribe my channel for scientific collection...... align center, all fonts, arial font, background, background colour, color text, colors code, custom fonts, design fonts, div align center, find font, font color, font family list, font styles online, font text, font type, fonts, fonts online, fonts style, free web font, free web fonts, how to create a, how to create html page, how to make a web, html colours, online font, script font, style fonts, style magazine, stylish fonts, text alignment, text fonts, web fonts, website font,
Views: 1325 Allfuntoday Computer
How to Change Color, Font, and Size of a Text in HTML
Yo Guys? What's Up? How is your experience with Alphixia? Hope you all are having a good time with us. So In this video you will learn how to change the color, font and size of a Text in HTML. This can be done with the two tags - The font tag and they style tag. But the font tag has been deprecated by the World Wide Consortium (W3Consortium) and has suggested to use the style tag instead. Both ways are explained thoroughly and you will easily understand it. You can learn more such things by checking out our channel for more Tutorials of HTML. You can also ask your doubts and get satisfying answers by our Experts. You can contact us at [email protected] or leave a message. You can also ask your questions on our site www.alphixia.weebly.com I sincerely Thank You for watching this and I hope that Alphixia has helped you. We will keep helping , as we think it is our religion to help people! Thanks! Nick - Co Owner
Views: 284378 Alphixia
25 CSS font family
In this video, I explained CSS font family, how can we use machine fonts and online google fonts. here is some common machine font names: https://websitesetup.org/web-safe-fonts-html-css/
Views: 235 KolkataCoderClub
how to make calculator using Html, CSS and JavaScript
how to make calculator using Html, CSS and JavaScript css code * { margin: 0; padding: 0; } .calborder { margin: auto; background: #343ba6; width:300px; border-radius: 5px; } .display input{ width: 94%; margin: 7px; height: 25px; text-align:right; font-size:25px; font-family:Times New Roman; } ul { padding-left: 8px; list-style-type: none; overflow: auto; } li { float: left; } .calbtn { margin-top: 5px; } .calbtn button{ width:71px; background-color: #343ba6; height: 55px; font-size: 30px; color: azure; }
Views: 341 TSN soft
How to use the font-family CSS property
Here we go! This is the start of becoming master manipulators of every visual component of a web page. But, we have to start with a single CSS property, and what a visually subtle yet powerful one it is.
Views: 1181 BuildAModule
HTML and CSS Tutorial 12 : Stylizing Text font face, family, style, and size
. Visit Our Friends @ Stone River E-Learning for Additional Tutorials - http://bit.ly/1fjsXTn Coupon 20% Off HTML & CSS for Beginners - http://bit.ly/1MmuYfw
Views: 2769 mybringback
HTML & HTML5 Table Tutorial Bangla 10
HTML & HTML5 Html beautiful Table style Html, Html5, Css, Css3, Javascript, Jquery, Angular js, Php, Mysql, C#, Java, Phyton etc HTML,CSS,JavaScript,DOM,jQuery,PHP,SQL,XML,Bootstrap,Web,W3CSS,W3C,tutorials,programming,development,training,learning,quiz,primer,lessons,reference,examples,source code,colors,demos,tips,w3c ----------------------------- a, href, terget, blank, class, id, title, img, src, width, height, style, alt, h1, h2, h3, h4, h5, h6, paragrape, bold, italic, underline, dd, dl, dt, ul, ol, li, div, span, strong, big, small, table, tbody, thead, th, tr, td, colspan, rowspan, cellspacing, cellpadding, blink, textarea, doctype, abbr, address, area, article, aside, audio, base, bdo, blockquot, body, br, canvas, caption, center, code, col, colgroup, del, details, dfn, em, embed, figcaption, figure, font, font family, font color, frame, frameset, head, header, iframe, ins, kbd, link, main, map, mark, menu, menuitem, meta, tag, contant, nav, noscript, script, object, output, param, picture, pre, progress, q, rp, rt, ruby, s, samp, section, source, strike, sub, sup, summary, svg, template, tfoot, time, track, tt, var, video, wbr, dir, header, footer, dialog, data, accept, align, autocomplete, autofocus, autoplay, bgcolor, background, border, charset, cite, content, controls, default, dirname, download, enctype, http-equiv, ismap, kind, lang, loop, marquee, low, media, onchange, oncopy, oncut, ondrop, onlood, pattern, rel, scope, shape, srclang, step, wrap, form, action, method, encript multipart/form-data, fieldset, legent, input, typetext number, password, email, color, date, month, day, radio, checkbox, range, select, option, textarea, button, reset, submit, attribute, onclick, alert, maxlength, max, min, pattern, size, rows, cols, list, name, datalist, id, optgroup, readonly, disabled, hidden, required, value, placeholder, label CSS & CSS3 -------------------- accelerator azimuth background background-attachment background-color background-image background-position background-position-x background-position-y background-repeat behavior border border-bottom border-bottom-color border-bottom-style border-bottom-width border-collapse border-color border-left border-left-color border-left-style border-left-width border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-style border-top-width border-width bottom caption-side clear clip color content counter-increment counter-reset cue cue-after cue-before cursor direction display elevation empty-cells filter float font font-family font-size font-size-adjust font-stretch font-style font-variant font-weight height ime-mode include-source layer-background-color layer-background-image layout-flow layout-grid layout-grid-char layout-grid-char-spacing layout-grid-line layout-grid-mode layout-grid-type left letter-spacing line-break line-height list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top marker-offset marks max-height max-width min-height min-width -moz-binding -moz-border-radius -moz-border-radius-topleft -moz-border-radius-topright -moz-border-radius-bottomright -moz-border-radius-bottomleft -moz-border-top-colors -moz-border-right-colors -moz-border-bottom-colors -moz-border-left-colors -moz-opacity -moz-outline -moz-outline-color -moz-outline-style -moz-outline-width -moz-user-focus -moz-user-input -moz-user-modify -moz-user-select orphans outline outline-color outline-style outline-width overflow overflow-X overflow-Y padding padding-bottom padding-left padding-right padding-top page page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position quotes -replace richness right ruby-align ruby-overhang ruby-position -set-link-source size speak speak-header speak-numeral speak-punctuation speech-rate stress scrollbar-arrow-color scrollbar-base-color scrollbar-dark-shadow-color scrollbar-face-color scrollbar-highlight-color scrollbar-shadow-color scrollbar-3d-light-color scrollbar-track-color table-layout text-align text-align-last text-decoration text-indent text-justify text-overflow text-shadow text-transform text-autospace text-kashida-space text-underline-position top unicode-bidi -use-link-source vertical-align visibility voice-family volume white-space widows width word-break word-spacing word-wrap writing-mode z-index zoom All ----------------------------- Html, Html5, Css, Css3, Javascript, Jquery, Angular js, Php, Mysql, C#, Java, Phyton etc HTML,CSS,JavaScript,DOM,jQuery,PHP,SQL,XML,Bootstrap,Web,W3CSS,W3C,tutorials,programming,development,training,learning,quiz,primer,lessons,reference,examples,source code,colors,demos,tips,w3c
Views: 73 Answer BD
CSS font-size property | Intro to HTML/CSS: Making webpages | Computer Programming | Khan Academy
Created by: pamela Practice this lesson yourself on KhanAcademy.org right now: https://www.khanacademy.org/computing/computer-programming/html-css/css-text-properties/p/challenge-great-big-font-sizes?utm_source=YT&utm_medium=Desc&utm_campaign=computerprogramming Watch the next lesson: https://www.khanacademy.org/computing/computer-programming/html-css/css-text-properties/p/css-font-styles-and-shorthand?utm_source=YT&utm_medium=Desc&utm_campaign=computerprogramming Missed the previous lesson? https://www.khanacademy.org/computing/computer-programming/html-css/css-text-properties/p/css-font-family-property?utm_source=YT&utm_medium=Desc&utm_campaign=computerprogramming Computer Programming on Khan Academy: Learn how to program drawings, animations, and games using JavaScript & ProcessingJS, or learn how to create webpages with HTML & CSS. You can share whatever you create, explore what others have created and learn from each other! About Khan Academy: Khan Academy is a nonprofit with a mission to provide a free, world-class education for anyone, anywhere. We believe learners of all ages should have unlimited access to free educational content they can master at their own pace. We use intelligent software, deep data analytics and intuitive user interfaces to help students and teachers around the world. Our resources cover preschool through early college education, including math, biology, chemistry, physics, economics, finance, history, grammar and more. We offer free personalized SAT test prep in partnership with the test developer, the College Board. Khan Academy has been translated into dozens of languages, and 100 million people use our platform worldwide every year. For more information, visit www.khanacademy.org, join us on Facebook or follow us on Twitter at @khanacademy. And remember, you can learn anything. For free. For everyone. Forever. #YouCanLearnAnything Subscribe to Khan Academy's Computer Programming channel: https://www.youtube.com/channel/UCzYDKG5mmfPPIosXuQ1PvEA?sub_confirmation=1 Subscribe to Khan Academy: https://www.youtube.com/subscription_center?add_user=khanacademy
jQuery disabled selector
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/04/jquery-disabled-selector.html In this video we will discuss 1. jQuery disabled selector 2. jQuery enabled selector 3. Where you can find jquery selectors documentation Selects all disabled elements $(':disabled') Selects all disabled elements and sets a 3px solid red border [html] [head] [title][/title] [script src="jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { $(':disabled').css('border', '3px solid red'); }); [/script] [/head] [body style="font-family:Arial"] [table] [tr] [td]First Name [/td] [td][input type="text" disabled="disabled" /][/td] [/tr] [tr] [td]Last Name [/td] [td][input type="text" disabled="disabled" /][/td] [/tr] [tr] [td]Email [/td] [td][input type="text" /][/td] [/tr] [tr] [td]Gender [/td] [td] [select id="selectGender" disabled="disabled"] [option value="Male"]Male[/option] [option value="Female"]Female[/option] [/select] [/td] [/tr] [tr] [td]Comments[/td] [td][textarea][/textarea][/td] [/tr] [tr] [td colspan="2"] [input type="submit" value="Submit" disabled="disabled"/] [/td] [/tr] [/table] [/body] [/html] Selects all input elements that are disabled and sets a 3px solid red border [script type="text/javascript"] $(document).ready(function () { $('input:disabled').css('border', '3px solid red'); }); [/script] Selects all input elements with type=text that are disabled and sets a 3px solid red border [script type="text/javascript"] $(document).ready(function () { $('input[type="text"]:disabled').css('border', '3px solid red'); }); [/script] Selects all enabled elements $(':enabled') Selects all enabled textarea elements and sets a 3px solid red border [script type="text/javascript"] $(document).ready(function () { $('textarea:enabled').css('border', '3px solid red'); }); [/script] Where can you find jquery selectors documentation https://api.jquery.com/category/selectors
Views: 58352 kudvenkat
jQuery add event handler to dynamically created element
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/04/jquery-add-event-handler-to-dynamically.html In this video we will discuss, how to add event handlers to dynamically created elements. Let us understand this with an example. The following example, allows us to dynamically create new list item (li), attach a click event handler and add it to the unordered list (ul). This happens when you click "Add a New List Item" button. The problem with this approach is that we are binding a click event handler to every list item. This means if you have 500 list items, then there will be 500 event handlers in the memory and this may negatively affect the performance of your application. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('li').on('click', function () { $(this).fadeOut(500); }); $('#btnAdd').on('click', function () { var newListItem = $('<li>New List Item</li>').on('click', function () { $(this).fadeOut(500); }); $('ul').append(newListItem); }); }); </script> </head> <body style="font-family:Arial"> <input id="btnAdd" type="button" value="Add a New List Item" /> <ul> <li>List Item</li> <li>List Item</li> </ul> </body> </html> A better way of doing the same from a performance standpoint is shown below. In this example, the click event handler is attached to the listitem (li) parent element (ul). Even if you have 500 list items, there is only one click event handler in memory. So how does this work 1. When you click on a list item (li), the event gets bubbled up to its parent (ul) as the list item (li) does not have an event handler 2. The bubbled event is handled by the the parent (ul) element, as it has a click event handler. 3. When a new list item is added dynamicaly, you don't have to add the click event handler to it. Since the newly created list item (li) is added to the same parent element (ul), the click event of this list item also gets bubbled upto the same parent and will be handled by it. <html> <head> <title></title> <script src="jquery-1.11.2.js"></script> <script type="text/javascript"> $(document).ready(function () { $('ul').on('click', 'li', function () { $(this).fadeOut(500); }); $('#btnAdd').on('click', function () { $('ul').append('<li>New List Item</li>'); }); }); </script> </head> <body style="font-family:Arial"> <input id="btnAdd" type="button" value="Add a New List Item" /> <ul> <li>List Item</li> <li>List Item</li> </ul> </body> </html>
Views: 68689 kudvenkat