What does a dot before a variable indicate in html?
问题 I'm new to html and web coding in general. What do the periods before variables indicate in the following code? <style> <!-- Modify these styles --> .page_title {font-weight:bold} .page_text {color:#000000} </style> ... JS code Thanks 回答1: those are not variables. Those are CSS Selectors, and they represent a HTML node with that class per example <div class="page_title">Page Title</div> You use CSS Selectors to style those elements in the HTML Since they've suggested. =) There are a few ways