Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,155,306 members, 7,826,210 topics. Date: Monday, 13 May 2024 at 11:12 AM |
Nairaland Forum / Science/Technology / Webmasters / How To Create your buhari HTML tag in 2 mins. (356 Views)
How To Use Mp3 Tag Editor Script Free Download / Wapkiz Voting Tag Code / Biko How Do I Tag A Friend On Nairaland?? Pls Help A Friend!! (2) (3) (4)
(1) (Reply)
How To Create your buhari HTML tag in 2 mins. by ColeDrain(m): 5:52pm On Jun 18, 2020 |
So I wanna create a HTML tag named buhari with my own preferred properties. Just like we have h1, h2, p tags. Something like this <buhari></buhari> To have an idea of how interesting this is. The h1 tag for example comes with a bolder font weight and 30px font size, anywhere the browser sees h1 it applies those properties, the same with our buhari tag. 1. Open your stylesheet(CSS file) and create a selector using buhari, then add your preferred properties N:B You can use internal CSS buhari{ So any text within the buhari tag will have a blue text color, a font size of 30px and will be underlined. 2. Go to your HTML file, link it with your CSS file. Then use the buhari tag. <buhari>I work like any other HTML tag.</buhari> Voila! It should give you the last image below. Simple as abc. N:B This is not advised as it is bad practice. Just for fun tho... I am crazy right? 1 Like
|
(1) (Reply)
Why 90% People Failed When They Start A Blog. / Godaddy Review: Avoid Godaddy Like Hell / I Need A Configuration That Allows Two Domain Point To The Same Website. Help!!!
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8 |