what are the algn and valgn attributes used for
Answers
Answered by
2
Answer:
ALIGN and VALIGN attributes would be used to override the default settings of the TH or TD cell tags. The ALIGN attribute allows you to align content in a cell to the left, the right, or the center. The VALIGN attribute allows you to align content vertically in a cell at the top, middle, or bottom of the cell.
Answered by
16
ᴀʟɪɢɴ ᴀɴᴅ ᴠᴀʟɪɢɴ ᴀᴛᴛʀɪʙᴜᴛᴇs ᴡᴏᴜʟᴅ ʙᴇ ᴜsᴇᴅ ᴛᴏ ᴏᴠᴇʀʀɪᴅᴇ ᴛʜᴇ ᴅᴇғᴀᴜʟᴛ sᴇᴛᴛɪɴɢs ᴏғ ᴛʜᴇ ᴛʜ ᴏʀ ᴛᴅ ᴄᴇʟʟ ᴛᴀɢs. ᴛʜᴇ ᴀʟɪɢɴ ᴀᴛᴛʀɪʙᴜᴛᴇ ᴀʟʟᴏᴡs ʏᴏᴜ ᴛᴏ ᴀʟɪɢɴ ᴄᴏɴᴛᴇɴᴛ ɪɴ ᴀ ᴄᴇʟʟ ᴛᴏ ᴛʜᴇ ʟᴇғᴛ, ᴛʜᴇ ʀɪɢʜᴛ, ᴏʀ ᴛʜᴇ ᴄᴇɴᴛᴇʀ. ᴛʜᴇ ᴠᴀʟɪɢɴ ᴀᴛᴛʀɪʙᴜᴛᴇ ᴀʟʟᴏᴡs ʏᴏᴜ ᴛᴏ ᴀʟɪɢɴ ᴄᴏɴᴛᴇɴᴛ ᴠᴇʀᴛɪᴄᴀʟʟʏ ɪɴ ᴀ ᴄᴇʟʟ ᴀᴛ ᴛʜᴇ ᴛᴏᴘ, ᴍɪᴅᴅʟᴇ, ᴏʀ ʙᴏᴛᴛᴏᴍ ᴏғ ᴛʜᴇ ᴄᴇʟʟ.
Similar questions