Computer Science, asked by devanshunathdn, 5 months ago

Can class element selector can be used in tag?

Answers

Answered by Anonymous
65

ᴛʜᴇ ᴛᴀɢ sᴇʟᴇᴄᴛᴏʀ ɪs ᴜsᴇᴅ ᴛᴏ ʀᴇᴅᴇғɪɴᴇ ᴇxɪsᴛɪɴɢ ʜᴛᴍʟ ᴛᴀɢs. sᴇʟᴇᴄᴛ ᴛʜɪs ᴏᴘᴛɪᴏɴ ɪғ ʏᴏᴜ ᴡᴀɴᴛ ᴛᴏ ᴄʜᴀɴɢᴇ ᴛʜᴇ ғᴏʀᴍᴀᴛᴛɪɴɢ ᴏᴘᴛɪᴏɴs ғᴏʀ ᴀɴ ʜᴛᴍʟ ᴛᴀɢ, sᴜᴄʜ ᴀs ᴛʜᴇ <ʜ1> (ʜᴇᴀᴅɪɴɢ 1) ᴛᴀɢ ᴏʀ ᴛʜᴇ <ᴜʟ> (ᴜɴᴏʀᴅᴇʀᴇᴅ ʟɪsᴛ) ᴛᴀɢ. ... ᴛᴀɢ sᴇʟᴇᴄᴛᴏʀs: ʏᴏᴜ ᴄᴀɴ ʀᴇᴅᴇғɪɴᴇ ᴛʜᴇ ᴀᴘᴘᴇᴀʀᴀɴᴄᴇ ᴏғ ᴀɴʏ ʜᴛᴍʟ ᴛᴀɢ ʙʏ ᴄʀᴇᴀᴛɪɴɢ ᴀ sᴛʏʟᴇ ᴡɪᴛʜ ᴀ ᴛᴀɢ sᴇʟᴇᴄᴛᴏʀ.

Answered by Anonymous
10

The tag selector is used to redefine existing HTML tags. Select this option if you want to change the formatting options for an HTML tag, such as the <h1> (heading 1) tag or the <ul> (unordered list) tag. ... Tag Selectors: You can redefine the appearance of any HTML tag by creating a style with a tag selector.

Similar questions