Build a function that accepts HTML source code as an argument and returns a list of (label, value) pairs. Please make sure to define and reference the function parameter so that your program will work correctly with multiple different inputs.