Introduction to HTML Attributes

Jitne bhi HTML tags hote hai un sabme attributes define kiye jate hai. Attributes ke duara aap tags ke andar ke content ko apne hisaab se  configure kar sakte hai.

Attributes advanced configuration ke liye istamal kiye jate hai. Attributes ke through interpreter ko additional commands diye jate hai jo use batati hai kisi element ke content ko kis prkar show karna hai.

For Example :-Ap default page background nahi chatte ho to uske according apne background ko change kar sakte ho.  Ayse hi agar aap default text color ko change karna chatte ho to change kar sakte ho.

Syntax HTML Attributes

HTML me attributes define karne ka general syntax.

<tagName attribute Name=”value”>some content here.</tagName>

Example of HTML Attributes

Attributes ko istemal karne bahut hi simple hai. Bus apko pata hona chahiye ki kkona attribute kis jgha istemal hoga.

Is example me 3 jgha attributes istemal kiye gaye hai. Subse phale <body> tag me bgcolor attribute istemal hua hai background ke color ko define karne ke liye. Jaab aap koi background color define nahi karte hai to defult me vo white rahta hai.

Lekin jayse ki mayne apko bataya ki aap attributes ke through elemetns ko apne according configure kar sakte hai isliye aap jo background color apne page ka rakhna chate hai vo rakh sakte hai. Jayse ki mayne example me black diya hai.

Second attribute heading tag me istemal kiye gaye hai. ye style attribute hai. Is attribute ke through aap tag per CSS(Cascading styel sheet) apply kar skte hai. CSS ke through advanced configuration kiya jata hai.

Third attribute paragraph tag me istemal kiya gaya hai jo ki heading tag ki trah paragraph ka color change kar raha hai.

Output of giving example

Scope of HTML Attributes

Attributes ka scope unke tags ke according hota hai. Jise tag ke sath aap jo attribute apply karte hai os attribute ka effect os tag taak valid rhta hai.

Example ke liye apne body tag me style attribute ka istemal karte hai text color red define kiya hai. Body tag pure page ke liye hota hai isliye ye attribute pure page ke text ko red me show karne laga.

Lekin ayse tab hi hoga jaab ki koi body tag se chotta tag text ko dusre color me define nahi karte hai. Agar koi sub tag vapaas usi attribute ko define karta hai to ayse situation me uski value parent tag me define kiye gaye attribute ki value ko override kar degi.

Example ke liye kisi paragraph tag ka color green define karte hai to ye color body tag ke color ko override karega aur apko paragraph green text me show hoga.

HTML me attributes ke scope ko niche Example me smjhya ja rha hai.

osper diye hoye Example me aap dekh sakte hai ki paragraph ka text color alag se define kiya gaya hai. Ye body ke text color kko override karta hai. Is script ko run karne se ye output ayga

Guidelines for Using HTML Attributes

HTML attribute ko istemal karne ki kuch guide line hote hai. Jinko follow karne se aap attributes ka behtaar istemal kar skte hai.

  1. Hamesa attributes ko lower case me difine kare.
  2. Hamesa attributes ka values quotation mark me hi define kare.

 

204 thoughts on “Introduction to HTML Attributes

  1. “Pretty section of content. I just stumbled upon your blog and in accession capital to say that I get actually enjoyed account your blog posts. Any way I will be subscribing in your augment and even I achievement you access constantly fast.”

  2. Normally I do not read article on blogs, but I wish to say that
    this write-up very pressured me to try and do it! Your writing taste has been amazed
    me. Thanks, quite nice article.

  3. Thanks for some other excellent article. Where else may just anybody get that kind of information in such an ideal means of writing? I have a presentation subsequent week, and I’m at the look for such info.

  4. Great beat ! I wish to apprentice while you amend your website, how can i subscribe for a blog web site? The account helped me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear idea

  5. Thanks for revealing your ideas. The first thing is that students have a solution between federal government student loan and a private student loan where it’s easier to go with student loan debt consolidation than through the federal education loan.

  6. Howdy would you mind letting me know which webhost you’re utilizing?
    I’ve loaded your blog in 3 different internet browsers and I must say this blog loads a lot quicker then most.
    Can you suggest a good internet hosting provider at a honest price?
    Kudos, I appreciate it!

  7. Youre so cool! I dont suppose Ive read anything like that just before. So nice to uncover somebody with some original thoughts on this subject. realy appreciate starting this up. this excellent website is a thing that is needed on-line, somebody with a bit of originality. valuable job for bringing new stuff to the net!

  8. I actually wanted to type a small remark to express gratitude to you for these superb facts you are showing on this website. My time-consuming internet lookup has now been honored with reliable details to write about with my friends. I ‘d tell you that most of us site visitors are undoubtedly lucky to live in a great network with very many wonderful professionals with beneficial hints. I feel really blessed to have used your website page and look forward to many more amazing moments reading here. Thank you again for a lot of things.

  9. You could certainly see your expertise in the work you write. The world hopes for more passionate writers like you who are not afraid to say how they believe. Always go after your heart.

  10. I loved as much as you’ll receive carried out right here.
    The sketch is attractive, your authored material stylish.
    nonetheless, you command get got an edginess over that you
    wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly a lot often inside case you shield this increase.

  11. With havin so much written content do you ever run into any problems of plagorism or copyright violation? My blog has a lot
    of exclusive content I’ve either written myself or outsourced but it seems a lot of it is
    popping it up all over the internet without my permission. Do you know any techniques to help prevent content from being stolen? I’d certainly appreciate it.

  12. Heya this is kinda of off topic but I was wanting to know if
    blogs use WYSIWYG editors or if you have to manually code
    with HTML. I’m starting a blog soon but have no coding expertise so
    I wanted to get advice from someone with experience.
    Any help would be greatly appreciated!

  13. excellent submit, very informative. I ponder why the opposite experts of this sector don’t understand this.
    You should continue your writing. I’m sure, you
    have a great readers’ base already!

  14. Pretty nice post. I just stumbled upon your blog
    and wanted to say that I’ve really loved browsing
    your weblog posts. In any case I’ll be subscribing to
    your feed and I am hoping you write again soon!

  15. obviously like your web site but you need to take a look at the spelling on several
    of your posts. Several of them are rife with spelling issues and I in finding it very bothersome to inform the reality then again I will definitely
    come again again.

  16. I’m not that much of a internet reader to be honest but your blogs really nice, keep
    it up! I’ll go ahead and bookmark your site to
    come back down the road. All the best

  17. hey there and thank you for your info – I have definitely picked up anything new from right here.
    I did however expertise a few technical issues using this web site, since I experienced to reload the web site
    lots of times previous to I could get it to load correctly.
    I had been wondering if your hosting is OK?
    Not that I’m complaining, but sluggish loading instances times
    will very frequently affect your placement in google and can damage your quality score if
    ads and marketing with Adwords. Anyway I’m adding this RSS to my e-mail and can look out for
    a lot more of your respective interesting content.

    Ensure that you update this again very soon.

  18. A person essentially help to make seriously articles I would state. This is the very first time I frequented your web page and thus far? I surprised with the research you made to create this particular publish extraordinary. Excellent job!

  19. Wow that was odd. I just wrote an very long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Anyhow, just wanted to say superb blog!

  20. Hey! Quick question that’s completely off topic. Do you know how to make your site mobile friendly? My weblog looks weird when browsing from my iphone. I’m trying to find a template or plugin that might be able to fix this issue. If you have any suggestions, please share. Thank you!

  21. Whoa! This blog looks just like my old one! It’s on a entirely different subject but it
    has pretty much the same page layout and design.
    Excellent choice of colors!

  22. I was wondering if you ever thought of changing the
    structure of your blog? Its very well written; I love what youve got to say.

    But maybe you could a little more in the
    way of content so people could connect with it better.
    Youve got an awful lot of text for only having
    1 or 2 pictures. Maybe you could space it out better?

  23. Hello there, just became aware of your blog through Google, and found that it is really informative.
    I am going to watch out for brussels. I’ll be grateful if you continue this in future.

    Lots of people will be benefited from your writing.

    Cheers!

  24. An impressive share! I’ve just forwarded this onto a co-worker who was doing a little homework on this.
    And he actually bought me lunch because I discovered it
    for him… lol. So let me reword this…. Thank YOU for the meal!!

    But yeah, thanx for spending time to discuss this issue here on your internet site.

  25. I was wondering if you ever thought of changing the page layout of your site?
    Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could connect with
    it better. Youve got an awful lot of text for only having 1 or
    two images. Maybe you could space it out better?

  26. Hi I am so grateful I found your web site, I really found you by accident, while I was browsing on Yahoo for something else,
    Regardless I am here now and would just like to say many
    thanks for a fantastic post and a all round entertaining blog (I also love the
    theme/design), I don’t have time to look over it all at the moment but I
    have saved it and also added in your RSS feeds, so when I have time I will be back to read much more, Please do keep up the awesome
    job.

  27. whoah this blog is fantastic i really like reading your posts. Stay up the good paintings! You understand, a lot of persons are searching round for this information, you can help them greatly.

  28. Hi I am so delighted I found your site, I really found you by mistake, while I was looking on Google for something else, Nonetheless I am here now and would just like to say cheers for a incredible post and a all round thrilling blog (I also love the theme/design), I don’t have time to read through it all at the moment but I have saved it and also added your RSS feeds, so when I have time I will be back to read more, Please do keep up the fantastic job.

  29. 同時賦予亮澤的眼皮和亮滑的眼底, 專為眼睛上下兩個不同的領域而設的無瑕底妝。覆蓋均勻眼周的同時,提供水分和緊緻遮瑕。

  30. Appreciating the dedication you put into your site and in depth information you offer.
    It’s nice to come across a blog every once in a while that isn’t the
    same out of date rehashed information. Fantastic read!
    I’ve bookmarked your site and I’m including
    your RSS feeds to my Google account.

  31. Thank you for any other magnificent article. The place else may anybody get that kind of information in such an ideal
    approach of writing? I have a presentation next week, and I am on the look for such info.

  32. Have you ever considered creating an ebook or guest authoring
    on other sites? I have a blog based upon on the same topics you discuss and would love to have you share some stories/information. I know my
    subscribers would enjoy your work. If you’re even remotely interested, feel free to
    shoot me an e mail.

  33. With havin so much content and articles do you ever run into any
    issues of plagorism or copyright infringement? My blog has a lot of completely unique content I’ve
    either created myself or outsourced but it looks like a lot
    of it is popping it up all over the web without my authorization.
    Do you know any solutions to help reduce content from being ripped
    off? I’d truly appreciate it.

  34. I don’t know if it’s just me or if perhaps everyone else experiencing problems with your blog.
    It looks like some of the text within your posts are running off the screen. Can someone else please provide feedback and let me know if this is happening to
    them as well? This could be a problem with my web browser because I’ve had this happen before.
    Thank you

  35. Hmm it seems like your blog ate my first comment (it was extremely long) so I guess I’ll
    just sum it up what I wrote and say, I’m thoroughly enjoying
    your blog. I too am an aspiring blog blogger but I’m still new to everything.

    Do you have any helpful hints for beginner blog writers?
    I’d genuinely appreciate it.

  36. 全智賢、Angelababy、宋智孝、桂綸鎂、官恩娜示範韓風無辜系一字眉、平粗眉 + 化妝師 Leo Wong、Kylie Chang 及混血 blogger Sue Chang 介紹好用眉筆化功具及貼士 全智賢在《來自星星的你》中的角色, 千頌伊的自然韓系眉妝,讓氣質粗而淡色的平粗眉, 一字眉再度蔚為風潮,眉頭輕眉山微彎眉尾線條柔軟是韓系的自然眉。這3個特色是眉毛美妝不可或缺的時尚步驟。編輯邀請《藝遊首爾》中韓混血兒張厚耀Sue Chang、專業化妝師Kylie Chan、Leo Wong解構韓眉化妝特色和貼士,介紹好用眉粉/眉筆/眉gel化妝工具,韓星宋智孝Song Ji Hyo, 宋智孝Song Ji Hyo, 全智賢Jeon Jihyun, 朴信惠Park Shin Hye, 韓智敏Han Ji M

  37. Do you have a spam problem on this website; I also am a blogger, and I
    was curious about your situation; many of us have developed some nice procedures and we are looking to trade techniques
    with other folks, why not shoot me an email if interested.

  38. Hi, i read your blog from time to time and i own a similar
    one and i was just wondering if you get a lot of spam responses?
    If so how do you prevent it, any plugin or anything you can suggest?

    I get so much lately it’s driving me mad so any support is very
    much appreciated.

  39. Undeniably believe that which you stated. Your favorite reason seemed to be on the internet the simplest thing to be aware of. I say to you, I definitely get irked while people think about worries that they just do not know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side effect , people can take a signal. Will likely be back to get more. Thanks

  40. Descargar facebook
    Hi, I do think this is an excellent blog. I stumbledupon it 😉 I’m going to return yet again since I book
    marked it. Money and freedom is the best way to change, may you be
    rich and continue to guide other people. Descargar facebook

  41. Have you ever considered publishing an e-book or guest
    authoring on other blogs? I have a blog centered on the same information you discuss and
    would love to have you share some stories/information. I know
    my subscribers would appreciate your work. If you’re even remotely interested, feel
    free to shoot me an email.

  42. Its like you read my mind! You seem to know a lot about this,
    like you wrote the book in it or something.
    I think that you could do with a few pics to drive the message home a bit, but instead of that,
    this is great blog. A fantastic read. I will definitely be back.

  43. I must thank you for the efforts you have put in writing this site.
    I am hoping to see the same high-grade content from you later on as well.
    In fact, your creative writing abilities has motivated me to get my very own site now 😉

  44. I am really impressed with your writing skills and also with the layout on your weblog.
    Is this a paid theme or did you customize it yourself?
    Anyway keep up the excellent quality writing, it is rare to see a nice blog like this one these days.

  45. Please let me know if you’re looking for a
    author for your blog. You have some really good posts and I think I would be a good asset.
    If you ever want to take some of the load off, I’d absolutely love to write some content for
    your blog in exchange for a link back to mine. Please send me an e-mail if interested.
    Cheers!

  46. Hello there! I know this is kinda off topic
    but I’d figured I’d ask. Would you be interested in exchanging links or maybe guest
    authoring a blog post or vice-versa? My website discusses a lot of the same topics
    as yours and I feel we could greatly benefit from each other.
    If you might be interested feel free to send me an email.
    I look forward to hearing from you! Superb blog by the way!

  47. Quest bars cheap fitnesstipsnew1 quest bars cheap 516999410492780544 quest bars cheap
    Hey this is kind of of off topic but I was wondering if
    blogs use WYSIWYG editors or if you have to manually code with
    HTML. I’m starting a blog soon but have no coding expertise so I wanted to get guidance from someone with
    experience. Any help would be enormously appreciated!
    Quest bars cheap fitnesstipsnew1 quest bars cheap 516999410492780544 quest bars cheap

  48. Hiya! Quick question that’s totally off topic. Do you know
    how to make your site mobile friendly? My site looks weird when viewing from my
    iphone. I’m trying to find a theme or plugin that might be able to correct this issue.
    If you have any suggestions, please share. Thank you!

  49. Hi, i read your blog from time to time and i own a similar one and i
    was just wondering if you get a lot of spam feedback? If so how do you prevent it, any plugin or anything you can suggest?

    I get so much lately it’s driving me mad so any support is very much appreciated.

  50. Hi, i think that i saw you visited my blog thus i came to “return the favor”.I am attempting to find things to enhance my
    website!I suppose its ok to use some of your ideas!!

  51. Heya this is kinda of off topic but I was wanting to know if blogs
    use WYSIWYG editors or if you have to manually code with HTML.
    I’m starting a blog soon but have no coding know-how so I
    wanted to get guidance from someone with experience.
    Any help would be enormously appreciated!

  52. An interesting discussion is worth comment. I do believe that you
    should write more about this issue, it may not be a taboo matter but
    typically people don’t talk about such issues. To the next!
    Best wishes!!

Leave a Reply

Your email address will not be published. Required fields are marked *